home *** CD-ROM | disk | FTP | other *** search
/ Die Speccy' 97 / Die Speccy' 97.iso / amiga_system / the_aminet / comm / bbs / trinitybbs20.lha / OLP / YuppieWars32.lzh / yuppiewars3.2 < prev   
Text File  |  1991-11-24  |  87KB  |  1,060 lines

  1. /*Yuppie Wars Version 3.2 Beta for CNet by Chet Wisniewski*/
  2. /*Modified For Trinity BBS By Rodney Martin*/
  3. filen='olp:yuppie.config';If ~exists(filen) then do;mes=filen 'is missing!Yuppie Wars aborted!'
  4. transmit mes;logentry mes;exit;end;call open(config,filen,'R')
  5. do until eof(config)=1;interpret readln(config);end;call close config
  6. options results;signal on syntax;signal on IOERR;bufferflush
  7. signal on Halt;tr='Transmit';le='Logentry';ss='sendstring';ver=' Version 3.2 (C)-Net Release!'
  8. qu='Query';if ~show('L',"rexxsupport.library") then do;if addlib('rexxsupport.library',0,-30,0) then nop;else do
  9. tr 'Hmm.. Cant seem to find the support library! Better Tell the SysOp';Le 'The Rexxsupport.library Not Found. It is required for Yuppie Wars'ver
  10. exit;end;end;tr "\f1\c2Now Loading \c4Yuppie Wars"ver"\c2.... Please Wait";lowmem=150000
  11. getuser 1;handle=result;cls='\f1';getuser 15;access=result;sysop=0;if access=23 then sysop=1;time=time();date=date();pa="###PANIC"
  12. day='0';if ~exists(yupdir'NEWS') then do;call open(news,yupdir'NEWS','W'); writeln(news,' ');writeln(news,'         \z6\c3   -=< The Yuppie Times >=-   \z0 ');writeln(news,' \c2               For 'date' ')
  13. writeln(news,' \c3');call close(news);end;if ~exists(yupdir'STATS') then do;call open(dc,yupdir'STATS','W');call writeln(dc,date)
  14. call writeln(dc,day);call writeln(dc,howm);call close(dc);end;if exists(Yupdir'STATS') then do;call open(dc,yupdir'STATS','R');dt=readln(dc)
  15. day=readln(dc);howm=readln(dc);if howm=' '|howm='' then howm='1';call close(dc);if date ~=dt then do;day=day+1;if exists(Yupdir'NEWS') then do;call open(news,yupdir'NEWS','A')
  16. writeln(news,' ');writeln(news,'         \z6\c3   -=< The Yuppie Times >=-   \z0 ');writeln(news,' \c2               For 'date' ')
  17. writeln(news,' \c3');end;call open(dc,yupdir'STATS','W');call writeln(dc,date);call writeln(dc,day);call writeln(dc,howm);call close(dc)
  18. end;end;if day=5 then do;day=0;call close(news);address command 'delete 'yupdir'NEWS';call open(news,yupdir'NEWS','W');writeln(news,' ');writeln(news,'         \z6\c3   -=< The Yuppie Times >=-   \z0 ')
  19. writeln(news,'\c2                For 'date' ');writeln(news,' \c3');writeln(news,'              Newspaper was reset on 'date'.')
  20. call open(dc,yupdir'STATS','W');call writeln(dc,date);call writeln(dc,day);call writeln(dc,howm)
  21. call close(dc);end;if exists(yupdir'NEWS') then do;call open(news,yupdir'NEWS','A')
  22. writeln(news,'              'handle' joins us at 'time);end;if ~exists(yupdir'TopOnes') then do;call open(top10,yupdir'TopOnes','W');do i=1 to 10
  23. writeln(top10,'0' '..........');end;call close(top10);end;turnsleft=25;if ~exists(yupdir'PLAYERS') then do
  24. call open(play,yupdir'PLAYERS','W');call close(play);end;call players;expert=0;wep1="Squirt Gun";wep2="Spitwad Launcher";wep3="Frisbee";wep4="Laser Tag Gun";wep5="Paint Ball Gun"
  25. wep6="Darts";wep7="Baseball";wep8="Bart Simpson Doll";wep9="Chainsaw";wep10="Teenage Mutant Ninja Turtle Doll"
  26. wep11="New Kids On The Block Poster";wep12="New Kids On The Block CD";arm1="Barbie Ferrari";arm2="Roller Skates";arm3="Vision Skateboard"
  27. arm4="Go-Cart";arm5="10-Speed Bike";arm6="Suzuki Motorbike";arm7="BMW Motorcycle";arm8="Yugo";arm9="Volkswagon";arm10="Ferrari F40";arm11="Corvette Mako Shark"
  28. arm12="Stealth Bomber";ran1="Window Shopper";ran2="Browser";ran3="Consumer";ran4="Credit Card User";ran5="Bouncy Check Writer";ran6="Blue Collar Worker"
  29. ran7="Republican";ran8="Millionare Tycoon";ran9="Chairman of Macy's Department Store";ran10="President of Macy's Department Store";ran11="Founder of Macy's Department Store"
  30. ran12="THE ONE.";maxturns=25;maxpoints=30;hitpoints=30;points=6100;money=5000;armor=arm1;weapon=wep1;rank=ran1;canfight=4;deadf=0;killer="NOBODY";kills=0
  31. bmoney=1000;if ~exists(yupdir||handle'.dat')then howm=howm+1;if exists(yupdir||handle'.dat') then do
  32. call open(File,yupdir||handle'.DAT','R');turnsleft=readln(File);maxpoints=readln(File)
  33. hitpoints=readln(File);points=readln(File);money=readln(File);armor=readln(File);weapon=readln(File);rank=readln(File);canfight=readln(File);lastpl=readln(File)
  34. deadf=readln(File);killer=readln(File);kills=readln(File);bmoney=readln(File);expert=readln(file);end;call close(File);if expert='';then expert='0';if ~exists(yupdir||handle'.dat') then do;call open(play,yupdir'Players','A');call writeln(play,handle);call writeln(play,points);call close play;end
  35. if lastpl ~=date then do;tr "\b1";tr "\c4Running Maintenance....\q1\w4";tr "\c7  You have \c125\c7 fresh turns!\q1";turnsleft=25;rannum=RANDOM(10,50,Time('s'));hitpoints=hitpoints+rannum;if hitpoints>maxpoints then hitpoints=maxpoints
  36. tr '\c7  You have gained \c1'rannum'\c7 hitpoints!\q1';money=money+2000;tr "\c7  You have earned \c1$2000\c7!\q1";tr "\c2  You are all set up and ready to go!\q1"
  37. canfight=4;if deadf=1 then do;tr "\n1\c2 "KILLER" \c1Beat YOU on the \c2HIGHWAY\c1!"
  38. end;deadf=0;call delay(75) ;qu "\n1\q1Press \c2RETURN\q1 when finished: "
  39. if result=PA then signal DIE;end;call CHECKRANK;signal TITLE
  40. CHECKRANK:
  41. if kills>=17 then rank=ran2;if kills>=25 then rank=ran3;if kills>=35 then rank=ran4
  42. if kills>=45 then rank=ran5;if kills>=60 then rank=ran6;if kills>=75 then rank=ran7
  43. if kills>=100 then rank=ran8;if kills>=130 then rank=ran9;if kills>=160 then rank=ran10
  44. if kills>=215 then rank=ran11;if kills>=300 then rank=ran12
  45. if rank=ran2 then maxpoints=40;if rank=ran3 then maxpoints=50;if rank=ran4 then maxpoints=60
  46. if rank=ran5 then maxpoints=75;if rank=ran6 then maxpoints=90
  47. if rank=ran7 then maxpoints=100;if rank=ran8 then maxpoints=120;if rank=ran9 then maxpoints=140
  48. if rank=ran10 then maxpoints=170;if rank=ran11 then maxpoints=200;if rank=ran12 then maxpoints=250;return
  49. TITLE:
  50. call players;tr '\q1';tr "\n3"
  51. tr '\c2' center("LONG AGO, IN A SHOPPING MALL FAR FAR AWAY...",78)
  52. tr "\c6                          ___  ___    ___         __  ___  ___"
  53. tr "\c6               /  / /  / /  / /  / / /      \\   \\ \\ \\ \\  \\ \\"
  54. tr "\c2        ------\c6/__/\c2-\c6/\c2--\c6/\c2-\c6/__/\c2-\c6/__/\c2-\c6/\c2-\c6/_\c2-------\c6\\\c2---\c6\\\c2-\c6\\_\c6\\\c2-\c6\\__\\\c2-\c6\\__\c2------\q1"
  55. tr "\c2       ---------\c6/\c2-\c6/\c2--\c6/\c2-\c6/\c2----\c6/\c2----\c6/\c2-\c6/\c2----------\c6\\\c2-\c6\\\c2-\c6\\\c2-\c6\\\c2-\c6\\\c2-\c6\\\c2-\c6\\\c2----\c6\\\c2------"
  56. tr "\c6             __/ /__/ /    /    / /___         \\_\\_\\ \\ \\ \\ \\  __\\"
  57. tr "\c3" center(ver,78) ;tr '\n1\c5' center("CNet Version by Chet Wisniewski, Thanx to Dave Cole for Ideas",78)
  58. tr "\c1" center(ver,78) ;tr '\c1' center("Modified For Trinity BBS By Rodney Martin",78)
  59. tr '\c5' center("Astral Gateway - (313)367-6634",78)
  60. tr '\n1\c5' center("Thanx to Heath and Silver Dragon for being there!",78)
  61. tr "\c4                     Now playing on\c7" bbsname"\c4!";call delay(100)
  62. tr "                          \c2-\c3-\c4= \c5Press Return \c4=\c3-\c2-\g1"
  63. if result=PA then signal BYE;signal BEGINNINGPROMPTS
  64. BEGINNINGPROMPTS:
  65. ss "\n2\c4Need Instructions \c3(\c5y\c4/\c2N\c4)? \q1";getchar;if nocarrier() then signal bye
  66. info=(result);if info=PA then signal BYE;if info="Y" then do;tr CLS;sendfile yupdir'instructions'
  67. end;ss "\n2\c4Read The News \c3(\c5y\c4/\c2N\c4)? \q1";getchar;if nocarrier() then signal bye;newz=result;if newz=PA then signal BYE;if newz="Y" then do
  68. q=0;tr CLS;sendfile yupdir'NEWS';tr '\c1Press Return to Continue:\g1';signal MENU1;tr '\f1\n5';end;tr '\f1\n5';signal menu1;end
  69. MAINGAME:
  70. currentmem=storage();if currentmem<lowmem then do;tr CLS'\n1';tr CENTER("\c2Sorry! Out of memory!  Saving and exiting...",78)
  71. call delay(75);signal BYE;end;if expert=0 then do;ss "\n1\c5[\c1"turnsleft"\c5]\cf Your Choice Sir?\c5> ";getchar;if nocarrier() then signal bye;choice=result;end
  72. if Choice=pa then signal BYE;if Choice=""|Choice=" "|Choice="  "|Choice="   "|Choice="    "|Choice="     " then turnsleft=turnsleft+1
  73. if Choice="A" then signal ARENA;if Choice="H" then signal HIGHWAY;if choice="B" then signal Command;if Choice="R" then signal REST;if Choice="T" then signal TOP;if Choice="Y" then signal YOURSTATS;if Choice="G" then signal TRIP
  74. if Choice="L" then do;signal VEGAS;;end;if Choice="V" then signal BUYORSELLA
  75. if Choice="W" then signal BUYORSELLW;if Choice="S" then signal BANK
  76. if Choice="P" then do;call players;call PLAYERList;signal menu1;end;if choice="X" then do;if expert=1 then do expert=0;tr '\n1\c1Novice Mode Re-Engaged';delay(50);signal menu2;end;if expert=0 then do expert=1;tr '\n1\c1Expert Mode Engaged!\q1';signal menu1;end;signal menu1;end 
  77. if Choice="Q" then signal QUIT;if Choice="?" then signal MENU1;else do;signal MENU1;end;signal MENU1
  78. MENU1:
  79. if hitpoints>maxpoints then hitpoints=maxpoints;if hitpoints<0 then hitpoints=0;if money<0 then money=0
  80. if turnsleft<=0 then do;tr CLS;tr center("\n1        \z6\c3   You must like this game!   \z0",78)
  81. tr "\q1";tr center("\c2But anyway, you have played all your \c125\c2 turns out.",78)
  82. tr center("\c2Try calling back tomarrow and playing again!\q1",78)
  83. qu "\n1\c1Press \c2RETURN\c1 when finished:\q1 ";signal OUTTAHERE;end
  84. if expert=1 then do;ss '\n1\c5(\c1A\cf,\c1H\cf,\c1B\cf,\c1R\cf,\c1T\cf,\c1Y\cf,\c1G\cf,\c1V\cf,\c1L\cf,\c1W\cf,\c1S\cf,\c1P\cf,\c1X\cf,\c1Q\cf \c1?=Menu\c5) \c2[\c6Turnsleft\c4(\c1'turnsleft'\c4)\c2] :';getchar;if nocarrier() then signal bye;choice=result;end
  85. if expert=1 & choice='?' then signal menu2;if expert=1 then signal maingame;signal menu2
  86. menu2:
  87. tr CLS;tr "\c6                         _  _        _    _"
  88. tr "\c2          ===============\c6\\\\//\c2========\c6\\\\/\\//\c2==============="
  89. tr "\c2         =================\c6||UPPIE\c2=====\c6\\/\\/ARS\c2=============="
  90. tr "\c6       --------\c3 Can The Richest & Greediest Survive?\c6 --------\n1"
  91. tr "           \c4[\cfA\c4]\c1 To The Arena              \c4[\cfG\c4]\c1 Go On A Trip      "
  92. tr "           \c4[\cfH\c4]\c1 The Highway               \c4[\cfL\c4]\c1 Go To Las Vegas   "
  93. tr "           \c4[\cfR\c4]\c1 Rest In A Hotel           \c4[\cfV\c4]\c1 Shop For Vehicle  "
  94. tr "           \c4[\cfT\c4]\c1 Top Scores                \c4[\cfW\c4]\c1 Shop For Weapons  "
  95. tr "           \c4[\cfY\c4]\c1 List Your Stats           \c4[\cfP\c4]\c1 List Players      "
  96. tr "           \c4[\cfS\c4]\c1 Savings and Loan          \c4[\cfQ\c4]\c1 Quit The Game     "
  97. tr "       \c4[\cfB\c4]\c1 BBS Commands              \c4[\cfX\c4]\c1 pert Mode\n1";if choice='?' & expert=1 then signal menu1;signal MAINGAME
  98. PLAYERS:
  99. tr '\f1';call open(play,yupdir'Players','R');do i=1 to howm;name.i=readln(play);point.i=readln(play);end;call close(play);return
  100. Playerlist:
  101. bufferflush;l=0;tr '\f1\cf                  Yuppie Listing';tr '\c1==========================================================================='
  102. tr '\c5 #   \c6Name                 \c4| \c5#  \c6Name        ';tr '\c1==========================================================================='
  103. m=howm;m=m+1;if m<2 then m=2;do i=1 to (m/2);l=l+1;ss left('\c4'l'\c1 'name.l'\c4',40)
  104. l=l+1;if name.l="NAME."l then ss '\z0\c0';ss l;if name.l ~="NAME."l then tr '\c1 'name.l;end;tr '\n2\c1Hit Return:\c1\g1';signal on error;return
  105. HICL:
  106. call open(play,yupdir'Players','R');PHandle.1=handle;PPoints.1=points;do i=2 to howm+1;PHandle.i=readln(play);PPoints.i=readln(play)
  107. if PHandle.1=PHandle.i then PPoints.i='-1';end;call close(play);do i=1 to howm
  108. do h=i+1 to howm+1;if PPoints.i<PPoints.h then do;tp=PPoints.i;PPoints.i=PPoints.h
  109. PPoints.h=tp;tpor=PHandle.i;PHandle.i=PHandle.h;PHandle.h=tpor;end;end;end;return
  110. Command:
  111. ss '\n3\c2Would you like a list of Popular BBS Commands?';getchar;if nocarrier() then signal bye;ans=result
  112. if ans='Y' then sendfile yupdir"commands";qu "\n3\c1What is your command your Yuppieness?"
  113. com=upper(result);bbscommand com;tr '\n2Press return to continue!\g1';signal menu1
  114. BANK:
  115. tr CLS;tr "\n2\c5                  Fly By Night Savings and Loan Terminal"
  116. tr center("\cfHome of the Keating 5",78);tr "\n1\c1                       Account#:\c2 0993-24300"handle"Z883"
  117. tr "\c1                   Pocket Money:\c2" money;tr "\c1                     Bank Money:\c2" bmoney
  118. tr "\n1\q1 ";ss "\c6[\cfD\c6]\c3 Deposit, \c6[\cfW\c6]\c3 Withdraw, \c6[\cfL\c6]\c3 Leave Bank\c6> \q1";getchar;if nocarrier() then signal bye
  119. ans=result;if ans=PA then signal BYE;if ans="D" then signal DEPO
  120. if ans="W" then signal WITH;if ans="Q" then signal MENU1;if ans="L" then signal MENU1
  121. signal BANK
  122. WITH:
  123. qu "\n1\c5Withdraw How Much Money?\c6>\c1";wit=upper(result) ;if wit=PA then signal BYE;if wit>bmoney|wit<0 then do
  124. tr CLS;tr center("\n1\c2You don't have that much money in the bank!",78)
  125. call delay(100);signal BANK;end;if wit<=bmoney then do;bmoney=bmoney-wit
  126. money=money+wit;tr "\n1\c2Money withdrawn.  Thank you.";call delay(100)
  127. signal BANK;end;signal BANK
  128. DEPO:
  129. qu "\n1\c5Deposit How Much Money?\c6>\c1";dep=upper(result);if dep=PA then signal BYE;if dep>money|dep<0 then do;tr CLS
  130. tr center("\n1\c2You Don't Have That Much MONEY!",78) ;tr "\q1 "
  131. call delay(100);signal BANK;end;if dep<=money then do;tr "\c2Depositing..."
  132. money=money-dep;bmoney=bmoney+dep;tr "\c2Deposited.";call delay(100)
  133. signal BANK;end;signal BANK
  134. ARENA:
  135. tr CLS;tr "\c1  .                         .   \c6 ___\c1           ."
  136. tr "\c6    ___ \c1.   \c6 __________   \c1. \c6  __|___|_   \c1.   \c6__"
  137. tr "\c6   |...|_   |o\\\\\\\\\\\\\\\\\\\\__   |. . . . |    _/__|_"
  138. tr "\c6   |._.|.|  |oo\\\\\\\\\\.|\c1.\c6 |. . . . |   |....._\\  \c1 ."
  139. tr "\c1___\c6||_||\c1_\c6|\c1__\c6|\c1___\c6\\\\\\\\\\\\\\\\\\\\|\c1__\c6|________|\c1___\c6|_____\\_\\\c1_____"
  140. tr "\c6________________________________________________________"
  141. tr "\c5__                                                    \c5__"
  142. tr "\c5|\\\\\c3OOOooooo,,,,,,,..........\c6__\c3.......,,,,,ooooooooOOO\c5// |"
  143. tr "\c5|  \\\\\c3OOOooooo,,,,,,,.......\c6/__\\\c3....,,,,,ooooooooOOO\c5//   |"
  144. tr "\c5|___\c2/==/______\c4___\c3,,,,,......\cf_____________\c3oooooOOO\c5//_____|"
  145. tr "\c5 __ \c3) _  .... \c4\\_\\  \c6_______ \c1/_)\cf/\\___/     \\ \c6______________"
  146. tr "\c6 -= \c2-'\c3O\c2`------'\c3O\c2-'\c6 -=-=-=- \cf`---\c1O\cf-------\c1O\cf-' \c6-=-=-=-=-=-=-"
  147. tr " \c6-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-="
  148. tr "\c2                                  __    __"
  149. tr "\c2          Below the streets...     \\HE  \\-\\RENA"
  150. ss "\n1\c3Enter the arena? (\c5Y\c3/\c2n\c3)\c6> \c1";getchar;if nocarrier() then signal bye
  151. answ=result;if answ=PA then signal BYE;if answ="N" then signal MENU1;signal FIGHTWHO
  152. FIGHTWHO:
  153. randm=RANDOM(1,3,Time('s')) ;tr CLS;tr center("\n1      \z6\c3   Today's Fighters Available:   \z0\c1\n1",78)
  154. if randm=1 then do;tr center("[W] A Window Shopper      ",78)
  155. tr center("[R] A Record Store Owner  ",78) ;tr center("[A] An Arcade Game Buff   ",78)
  156. tr center("[G] The Jolly Green Giant ",78) ;end;if randm=2 then do
  157. tr center("[W] A Window Shopper      ",78) ;tr center("[A] An Arcade Game Freak  ",78)
  158. tr center("[M] A Mortitioner         ",78) ;tr center("[Y] Macy's Store President",78)
  159. end;if randm=3 then do;tr center("[K] A K-Mart Attendant    ",78) ;tr center("[R] A Record Store Owner  ",78)
  160. tr center("[A] An Arcade Game Freak  ",78) ;tr center("[P] A Paris Cafe Owner    ",78)
  161. end;ss "\n1\c3Fight which one? \c6[\cfQ\c6]\c3 Quits\c6> \c1";getchar;if nocarrier() then signal bye
  162. answ=result ;if answ=PA then signal BYE;if answ="Q" then signal MENU1;if randm=1 then do;if answ="W" then signal WINDOW
  163. if answ="R" then signal RECORD;if answ="A" then signal BUFF;if answ="G" then signal GIANT
  164. end;if randm=2 then do;if answ="W" then signal WINDOW;if answ="A" then signal FREAK
  165. if answ="M" then signal MORT;if answ="Y" then signal PRES;end;if randm=3 then do
  166. if answ="K" then signal KMART;if answ="R" then signal RECORD;if answ="A" then signal FREAK
  167. if answ="P" then signal PARIS;end;signal FIGHTWHO
  168. WINDOW:
  169. tr CLS;wh="Window Shopper";hitoppo=30;wepoppo=wep2;armoppo=arm2;call RFZ;monoppo=randm*50
  170. signal FIGHTSC
  171. RECORD:
  172. tr CLS;wh="Record Store Owner";hitoppo=55;wepoppo=wep4;armoppo=arm4;call RFZ;monoppo=randm*350
  173. signal FIGHTSC
  174. RFZ:
  175. randm=RANDOM(10,30,Time('s')) ;return
  176. BUFF:
  177. tr CLS;wh="Arcade Game Buff";hitoppo=70;wepoppo=wep5;armoppo=arm6;call RFZ;monoppo=randm*400
  178. signal FIGHTSC
  179. GIANT:
  180. tr CLS;wh="Jolly Green Giant";hitoppo=200;wepoppo=wep8;armoppo=arm8;call RFZ;monoppo=randm*1200
  181. signal FIGHTSC
  182. FREAK:
  183. tr CLS;wh="Arcade Game Freak";hitoppo=80;wepoppo=wep6;armoppo=arm7;call RFZ;monoppo=randm*500
  184. signal FIGHTSC
  185. MORT:
  186. tr CLS;wh="Mortitioner";hitoppo=180;wepoppo=wep8;armoppo=arm10;call RFZ;monoppo=randm*1050
  187. signal FIGHTSC
  188. PRES:
  189. tr CLS;wh="President Of Macy's";hitoppo=390;wepoppo=wep11;armoppo=arm11;call RFZ;monoppo=randm*2500
  190. signal FIGHTSC
  191. KMART:
  192. tr CLS;wh="K-Mart Attendant";hitoppo=52;wepoppo=wep4;armoppo=arm3;call RFZ;monoppo=randm*300
  193. signal FIGHTSC
  194. PARIS:
  195. tr CLS;wh="Paris Cafe Owner";hitoppo=180;wepoppo=wep9;armoppo=arm7;call RFZ;monoppo=randm*1250
  196. signal FIGHTSC
  197. FIGHTSC:
  198. tr "\n2\c4You are fighting a \c1"wh"\c4.";ss "\n1\c3Fight Commands: \c6[\cfA\c6] \c1Attack, \c6[\cfR\c6] \c1Retreat, \c6[\cfH\c6]\c1 Hit his vehicle\c6>\c1 ";getchar;if nocarrier() then signal bye
  199. opt=result;if opt=PA then signal BYE;if opt="A" then signal ATT;if opt="R" then signal RET;if opt="H" then signal RAMH
  200. if opt="Q" then signal RET;signal FIGHTSC
  201. ATT:
  202. call STA;rannum=RANDOM(1,2,Time('s')) ;if rannum=1 then do;tr "\n1\c2You hit him for \c1"hithim" \c2hitpoints!"
  203. hitoppo=hitoppo-hithim;if hitoppo<=0 then signal WONFIT;ransum=RANDOM(1,4,Time('s'))
  204. if ransum=1|ransum=2|ransum=3 then do;tr "\n2\c5He hit you for \c1"hityou" \c5hitpoints!"
  205. hitpoints=hitpoints-hityou;if hitpoints<=0 then signal LOSFIT;end
  206. if ransum=4 then do;tr "\n1\c5He rammed your \cf"armor" \c5and"
  207. tr "hit you for \cf"hityou+5" \c5hitpoints!";tr "\c5He also lost \c1"ramlos" \c5by hitting you."
  208. hitpoints=hitpoints-(hityou+5);hitoppo=hitoppo-ramlos;if hitpoints<=0 & hitoppo  <= 0 then signal DRAWFIT
  209. if hitpoints<=0 then signal LOSFIT;if hitoppo<=0 then signal WONFIT;end;end
  210. if rannum=2 then do;ransum=RANDOM(1,4,Time('s'));if ransum=1|ransum=2|ransum=3 then do
  211. tr "\n2\c5He hit you for "hityou" hitpoints!";hitpoints=hitpoints-hityou
  212. if hitpoints<=0 then signal LOSFIT;end;if ransum=4 then do;tr "\n1\c5He rammed your "armor" and"
  213. tr "\c5hit you for "hityou+5" hitpoints!";tr "\c6He also lost \cf"ramlos" \c6by hitting you."
  214. hitpoints=hitpoints-(hityou+5);hitoppo=hitoppo-ramlos;if hitpoints<=0 & hitoppo<=0 then signal DRAWFIT
  215. if hitpoints<=0 then signal LOSFIT;if hitoppo<=0 then signal WONFIT;end
  216. tr "\n1\c2You hit him for \c1"hithim" \c2hitpoints!";hitoppo=hitoppo-hithim
  217. if hitoppo<=0 then signal WONFIT;end;signal FIGHTSC
  218. RAMH:
  219. call STA;rannum=RANDOM(1,2,Time('s'));if rannum=1 then do;tr "\n1\c2You rammed his "armoppo" and"
  220. tr "\c2hit him for "hithim+5" hitpoints!";tr "\c2You also lost "ramlos" by hitting him."
  221. hitpoints=hitpoints-ramlos;hitoppo=hitoppo-(hithim+5);if hitpoints<=0 & hitoppo<=0 then signal DRAWFIT
  222. if hitoppo<=0 then signal WONFIT;if hitpoints<=0 then signal LOSFIT;ransum=RANDOM(1,4,Time('s'))
  223. if ransum=1|ransum=2|ransum=3 then do;tr "\n2\c5He hit you for "hityou" hitpoints!"
  224. hitpoints=hitpoints-hityou;if hitpoints<=0 then signal LOSFIT;end;if ransum=4 then do
  225. tr "\n1\c5He rammed your "armor" and";tr "\c5hit you for "hityou+5" hitpoints!"
  226. tr "\c5He also lost "ramlos" by hitting you.";hitpoints=hitpoints-(hityou+5);hitoppo=hitoppo-ramlos
  227. if hitpoints<=0 & hitoppo<=0 then signal DRAWFIT;if hitpoints<=0 then signal LOSFIT
  228. if hitoppo<=0 then signal WONFIT;end;end;if rannum=2 then do;ransum=RANDOM(1,4,Time('s'))
  229. if ransum=1|ransum=2|ransum=3 then do;tr "\n2\c5He hit you for "hityou" hitpoints!"
  230. hitpoints=hitpoints-hityou;if hitpoints<=0 then signal LOSFIT;end
  231. if ransum=4 then do;tr "\n1\c5He rammed your "armor" and";tr "\c5hit you for "hityou+5" hitpoints!"
  232. tr "\c5He also lost "ramlos" by hitting you.";hitpoints=hitpoints-(hityou+5)
  233. hitoppo=hitoppo-ramlos;if hitpoints<=0 & hitoppo<=0 then signal DRAWFIT;if hitpoints<=0 then signal LOSFIT
  234. if hitoppo<=0 then signal WONFIT;end;tr "\n1\c2You rammed his "armoppo" and"
  235. tr "\c2hit him for "hithim+5" hitpoints!";tr "\c2You also lost "ramlos" by hitting him."
  236. hitpoints=hitpoints-ramlos;hitoppo=hitoppo-(hithim+5);if hitpoints<=0 & hitoppo<=0 then signal DRAWFIT
  237. if hitoppo<=0 then signal WONFIT;if hitpoints<=0 then signal LOSFIT;end;signal FIGHTSC
  238. RET:
  239. call STA;tr "\n1\c2YOU RUN!";if rank=ran1|rank=ran2|rank=ran3 then rannum=RANDOM(1,2,Time('s'))
  240. if rank=ran4|rank=ran5|rank=ran6 then rannum=RANDOM(1,3,Time('s'));if rank=ran7|rank=ran8|rank=ran9 then rannum=RANDOM(1,4,Time('s'))
  241. if rank=ran10|rank=ran11 then rannum=RANDOM(1,5,Time('s')) ;if rank=ran12 then rannum=RANDOM(1,6,Time('s'))
  242. if rannum=1 then do;tr "\n1\c5`I don't think so.' says the "wh"."
  243. tr "\c5You can't escape from me right now!";end;if rannum=2|rannum=3|rannum=4|rannum=5|rannum=6 then do
  244. ex=RANDOM(51,122,Time('s'));tr "\n1\c5You ESCAPED from The Arena!\n1"
  245. call delay(110);signal MENU1;end;rannum=RANDOM(1,2,Time('s'))
  246. if rannum=1 then do;tr "\n1\c5The "wh" hits you for "hityou" hitpoints!"
  247. hitpoints=hitpoints-hityou;if hitpoints<=0 then signal LOSFIT;end;if rannum=2 then do
  248. tr "\n1\c5The "wh" misses you!\n1";end;call delay(20);signal FIGHTSC
  249. WONFIT:
  250. kills=kills+1;call delay(140) ;tr CLS;tr "\c1               *               *"
  251. tr "   *                       \cf|\c1            *";tr "        *      \cf\\/OU \\/\\/ON o"
  252. tr "               /    \c1*             *";tr " *                      *               *"
  253. tr "\n1\c2  You Won!  \c4 You Get \c1$"monoppo"\c4!";money=money+monoppo
  254. call CHECKRANK;call delay(160) ;signal MENU1
  255. LOSFIT:
  256. hitpoints=0;call delay(130) ;tr CLS;tr "\c2                                   _ ___"
  257. tr "              \\_/ /\\ | |    |  /\\ /   |  |||";tr "               |  \\/ |_|    |_ \\/ _\\  |  ooo"
  258. tr "\n1\c4         You are the disgrace of The Arena!";tr "\n1\c5 You have 0 hitpoints.";tr "\c3 Oh well, better luck next time!";call delay(150) ;signal MENU1
  259. DRAWFIT:
  260. kills=kills+1;hitpoints=0;call delay(150) ;tr CLS;tr  center("\n1\c2AMAZING!",78)
  261. tr center("\n1\c4Both of you killed each other with your final blows!",78)
  262. tr center("\c4You both have 0 hitpoints, you didn't win anything.\n1",78);call CHECKRANK;call delay(200);signal MENU1
  263. HIGHWAY:
  264. tr CLS;tr "\c1   ________ \c6____\c1 _ \c6__\c1 ______ \c6_\c1 _______ \c6__\c1 __________"
  265. tr "\cf   ___   ___ \c6/\cf_\c6/_//_\cf_  _\c6/_///_\cf_\c6/_//\cf_\c6 //_//_/\cf__   ___"
  266. tr "\c1   _________\c6/\c1_\c6/\c1_\c6//__\c1___\c6/\c1_\c6///_//\c1_\c6///|//\c1_\c6/\c1_\c6/\c1__________\c1"
  267. ss "\n1\c3Do you wish to fight another player (\c5Y\c3/\c2n\c3)? \c1";getchar;if nocarrier() then signal bye
  268. ans=result;if ans=PA then signal BYE;if ans="Q" then signal MENU1
  269. if ans="N" then signal MENU1;ss '\n2\c3Do You wish You see a Playerlist before Entering Player #?\q1'
  270. getchar;if nocarrier() then signal bye;char=result;if char='Y' then call playerlist;qu "\n2\c5Enter The Opponents Usernumber\c4(\c1Q Quits\c4):\c1"
  271. who=result;if who=PA then signal BYE;if who="Q" then signal MENU1;if who=""|who=" "|who="  " then signal MENU1
  272. them=name.who;if ~exists(yupdir||them'.dat') then do;tr '\c5Sorry Invalid #!!';delay(70);signal Highway;end
  273. if them=handle then do;tr 'I Knew a man who attacked himself once.... He Lost!';delay(100);signal highway;end
  274. if exists(yupdir||them'.DAT') then do;call open(oppo,yupdir||them'.DAT','R')
  275. nulla=readln(oppo);maxoppo=readln(oppo);hitoppo=readln(oppo);nullb=readln(oppo)
  276. monoppo=readln(oppo);armoppo=readln(oppo);wepoppo=readln(oppo);ranoppo=readln(oppo)
  277. nullc=readln(oppo);nulld=readln(oppo);defoppo=readln(oppo);kildoppo=readln(oppo)
  278. kiloppo=readln(oppo);nulle=readln(oppo);call close(oppo);wutoppo=trunc((hitoppo+maxoppo)/2)
  279. end;else do;tr "\n1\c5That yuppie doesn't exist! -- Maybe you mispelled it?\n1"
  280. call delay(100);signal HIGHWAY;end;signal FIGHT
  281. FIGHT:
  282. if defoppo=1 then do;tr "\n1\c2   Sorry "handle", but "kildoppo" already killed him!"
  283. call delay(110);signal MENU1;end;canfight=canfight-1;tr CLS'\n2';if canfight=0 then do;tr center("\c6Oh.. you are too tired to fight anymore, try",78)
  284. tr center("\c6fighting tomarrow.\n1",78) ;call delay(100) ;signal MENU1;end
  285. writeln(news,'              'handle' picked a fight with 'them'!') ;tr center("\z6\c3   LET'S FIGHT!!!   \z0\c1",78)
  286. tr "\n1\c4   Ladies and Gentlemen!  Tonight on the highway";tr "\c4 we have a fight of all fights!  Between \c1"handle"\c4,"
  287. tr "\c4 and \c1"them"\c4.  Let's kick some butt!";tr "\c2--------------------------------------------------- \c1"
  288. tr "\c6  Stats for\c1 "them"\c6:";tr "\c6      Hitpoints: \c2"wutoppo
  289. tr "\c6           Rank: \c2"ranoppo;tr "\c6 Lifetime Kills: \c2"kiloppo;tr "\n1\c6  Stats for\c1 "handle"\c6:";tr "\c6      Hitpoints: \c1"hitpoints;tr "\c6           Rank: \c2"rank
  290. tr "\c6         Weapon: \c2"weapon;tr "\c6        Vehicle: \c2"armor;tr "\c6 Lifetime Kills: \c2"kills;signal FIGHTOPT
  291. FIGHTOPT:
  292. ss "\n1\c3Fight Commands: \c6[\cfA\c6] \c1Attack, \c6[\cfR\c6] \c1Retreat, \c6[\cfH\c6]\c1 Hit his vehicle\c6> \c1";getchar;if nocarrier() then signal bye
  293. opt=result;if opt=PA then signal BYE;if opt="A" then signal ATTACK;if opt="R" then signal RETREAT;if opt="H" then signal RAMHIM
  294. if opt="Q" then signal RETREAT;signal FIGHTOPT
  295. STA:
  296. if armoppo=arm1 then ar=RANDOM(0,2,Time('s'));if armoppo=arm2 then ar=RANDOM(0,3,Time('s'))
  297. if armoppo=arm3 then ar=RANDOM(0,4,Time('s'));if armoppo=arm4 then ar=RANDOM(0,5,Time('s'))
  298. if armoppo=arm5 then ar=RANDOM(0,6,Time('s'));if armoppo=arm6 then ar=RANDOM(0,7,Time('s'))
  299. if armoppo=arm7 then ar=RANDOM(0,8,Time('s'));if armoppo=arm8 then ar=RANDOM(0,9,Time('s'))
  300. if armoppo=arm9 then ar=RANDOM(1,10,Time('s'));if armoppo=arm10 then ar=RANDOM(2,11,Time('s'))
  301. if armoppo=arm11 then ar=RANDOM(3,12,Time('s'));if armoppo=arm12 then ar=RANDOM(4,13,Time('s'))
  302. if armor=arm1 then as=RANDOM(0,2,Time('s'));if armor=arm2 then as=RANDOM(0,3,Time('s'))
  303. if armor=arm3 then as=RANDOM(0,4,Time('s'));if armor=arm4 then as=RANDOM(0,5,Time('s'))
  304. if armor=arm5 then as=RANDOM(0,6,Time('s'));if armor=arm6 then as=RANDOM(0,7,Time('s'))
  305. if armor=arm7 then as=RANDOM(0,8,Time('s'));if armor=arm8 then as=RANDOM(1,9,Time('s'))
  306. if armor=arm9 then as=RANDOM(2,10,Time('s'));if armor=arm10 then as=RANDOM(3,11,Time('s'))
  307. if armor=arm11 then as=RANDOM(4,12,Time('s'));if armor=arm12 then as=RANDOM(5,13,Time('s'))
  308. if wepoppo=wep1 then wr=RANDOM(2,4,Time('s'));if wepoppo=wep2 then wr=RANDOM(3,5,Time('s'))
  309. if wepoppo=wep3 then wr=RANDOM(4,6,Time('s'));if wepoppo=wep4 then wr=RANDOM(5,7,Time('s'))
  310. if wepoppo=wep5 then wr=RANDOM(6,8,Time('s'));if wepoppo=wep6 then wr=RANDOM(7,9,Time('s'))
  311. if wepoppo=wep7 then wr=RANDOM(8,10,Time('s'));if wepoppo=wep8 then wr=RANDOM(9,11,Time('s'))
  312. if wepoppo=wep9 then wr=RANDOM(10,12,Time('s'));if wepoppo=wep10 then wr=RANDOM(11,13,Time('s'))
  313. if wepoppo=wep11 then wr=RANDOM(12,14,Time('s'));if wepoppo=wep12 then wr=RANDOM(13,15,Time('s'))
  314. if weapon=wep1 then ws=RANDOM(2,4,Time('s'));if weapon=wep2 then ws=RANDOM(3,5,Time('s'))
  315. if weapon=wep3 then ws=RANDOM(4,6,Time('s'));if weapon=wep4 then ws=RANDOM(5,7,Time('s'))
  316. if weapon=wep5 then ws=RANDOM(6,8,Time('s'));if weapon=wep6 then ws=RANDOM(7,9,Time('s'))
  317. if weapon=wep7 then ws=RANDOM(8,10,Time('s'));if weapon=wep8 then ws=RANDOM(9,11,Time('s'))
  318. if weapon=wep9 then ws=RANDOM(10,12,Time('s'));if weapon=wep10 then ws=RANDOM(11,13,Time('s'))
  319. if weapon=wep11 then ws=RANDOM(12,14,Time('s'));if weapon=wep12 then ws=RANDOM(13,15,Time('s'))
  320. ramlos=RANDOM(2,7,Time('s'));hithim=ws-ar;if hithim<0 then hithim=0;hityou=wr-as
  321. if hityou<0 then hityou=0;return
  322. ATTACK:
  323. call STA;rannum=RANDOM(1,2,Time('s')) ;if rannum=1 then do;
  324. tr "\n1\c2You hit \c1"them"\c2 for "hithim" hitpoints!";wutoppo=wutoppo-hithim
  325. if wutoppo<=0 then signal WONFIGHT;ransum=RANDOM(1,4,Time('s'));if ransum=1|ransum=2|ransum=3 then do
  326. tr "\n2\c1"them"\c5 hit you for "hityou" hitpoints!";hitpoints=hitpoints-hityou
  327. if hitpoints<=0 then signal LOSTFIGHT;end;if ransum=4 then do;tr "\n1\c1"them"\c5 rammed your "armor" and"
  328. tr "\c5hit you for "hityou+5" hitpoints!";tr "\c5He also lost "ramlos" by hitting you."
  329. hitpoints=hitpoints-(hityou+5);wutoppo=wutoppo-ramlos;if hitpoints<=0 & wutoppo<=0 then signal DRAWFIGHT
  330. if hitpoints<=0 then signal LOSTFIGHT;if wutoppo<=0 then signal WONFIGHT;end;end
  331. if rannum=2 then do;ransum=RANDOM(1,4,Time('s'));if ransum=1|ransum=2|ransum=3 then do
  332. tr "\n2\c1"them"\c5 hit you for "hityou" hitpoints!";hitpoints=hitpoints-hityou
  333. if hitpoints<=0 then signal LOSTFIGHT;end;if ransum=4 then do;tr "\n1\c1"them"\c5 rammed your "armor" and"
  334. tr "\c5hit you for "hityou+5" hitpoints!";tr "\c5He also lost "ramlos" by hitting you."
  335. hitpoints=hitpoints-(hityou+5);wutoppo=wutoppo-ramlos;if hitpoints<=0 & wutoppo<=0 then signal DRAWFIGHT
  336. if hitpoints<=0 then signal LOSTFIGHT;if wutoppo<=0 then signal WONFIGHT;end
  337. tr "\n1\c2You hit \c1"them"\c2 for "hithim" hitpoints!";wutoppo=wutoppo-hithim
  338. if wutoppo<=0 then signal WONFIGHT;end;signal FIGHTOPT
  339. RAMHIM:
  340. call STA;rannum=RANDOM(1,2,Time('s'));if rannum=1 then do;tr "\n1\c2You rammed \c1"them"'S\c2 "armoppo
  341. tr "\c2and hit him for "hithim+5" hitpoints!";tr "\c2You also lost "ramlos" by hitting him."
  342. hitpoints=hitpoints-ramlos;wutoppo=wutoppo-(hithim+5);if hitpoints<=0 & wutoppo<=0 then signal DRAWFIGHT
  343. if wutoppo<=0 then signal WONFIGHT;if hitpoints<=0 then signal LOSTFIGHT;ransum=RANDOM(1,4,Time('s'))
  344. if ransum=1|ransum=2|ransum=3 then do;tr "\n2\c1"them"\c5 hit you for "hityou" hitpoints!"
  345. hitpoints=hitpoints-hityou;if hitpoints<=0 then signal LOSTFIGHT;end;if ransum=4 then do
  346. tr "\n1\c1"them"\c5 rammed your "armor;tr "\c5and hit you for "hityou+5" hitpoints!"
  347. tr "\c5He also lost "ramlos" by hitting you.";hitpoints=hitpoints-(hityou+5);wutoppo=wutoppo-ramlos
  348. if hitpoints<=0 & wutoppo<=0 then signal DRAWFIGHT;if hitpoints<=0 then signal LOSTFIGHT
  349. if wutoppo<=0 then signal WONFIGHT;end;end;if rannum=2 then do;ransum=RANDOM(1,4,Time('s'))
  350. if ransum=1|ransum=2|ransum=3 then do;tr "\n2\c1"them"\c5 hit you for "hityou" hitpoints!"
  351. hitpoints=hitpoints-hityou;if hitpoints<=0 then signal LOSTFIGHT;end;if ransum=4 then do
  352. tr "\n1\c1"them"\c5 rammed your "armor;tr "\c5and hit you for "hityou+5" hitpoints!"
  353. tr "\c5He also lost "ramlos" by hitting you.";hitpoints=hitpoints-(hityou+5);wutoppo=wutoppo-ramlos
  354. if hitpoints<=0 & wutoppo<=0 then signal DRAWFIGHT;if hitpoints<=0 then signal LOSTFIGHT
  355. if wutoppo<=0 then signal WONFIGHT;end;tr "\n1\c2You rammed \c1"them"'S\c2 "armoppo
  356. tr "\c2and hit him for "hithim+5" hitpoints!";tr "\c2You also lost "ramlos" by hitting him."
  357. hitpoints=hitpoints-ramlos;wutoppo=wutoppo-(hithim+5);if hitpoints<=0 & wutoppo<=0 then signal DRAWFIGHT
  358. if wutoppo<=0 then signal WONFIGHT;if hitpoints<=0 then signal LOSTFIGHT;end;signal FIGHTOPT
  359. RETREAT:
  360. call STA;tr "\n1\c2YOU RUN!";if rank=ran1|rank=ran2|rank=ran3 then rannum=RANDOM(1,2,Time('s'))
  361. if rank=ran4|rank=ran5|rank=ran6 then rannum=RANDOM(1,3,Time('s'));if rank=ran7|rank=ran8|rank=ran9 then rannum=RANDOM(1,4,Time('s'))
  362. if rank=ran10|rank=ran11 then rannum=RANDOM(1,5,Time('s'));if rank=ran12 then rannum=RANDOM(1,6,Time('s'))
  363. if rannum=1 then do;tr "\n1\c5`I don't think so.' says \c1"them"\c5.";tr "\c5You can't escape me right now!"
  364. end;if rannum=2|rannum=3|rannum=4|rannum=5|rannum=6 then do;ex=RANDOM(51,122,Time('s'))
  365. tr "\n1\c5You ESCAPED off of exit "ex"!\n1";writeln(news,'               'handle' ran away from 'them'!')
  366. call delay(110);signal MENU1;end;rannum=RANDOM(1,2,Time('s'));if rannum=1 then do
  367. tr "\n1\c1"them"\c5 hits you for "hityou" hitpoints!";hitpoints=hitpoints-hityou;if hitpoints<=0 then signal LOSTFIGHT
  368. end;if rannum=2 then do;tr "\n1\c1"them"\c5 misses you!";end;call delay(20);signal FIGHTOPT
  369. WONFIGHT:
  370. defoppo=1;wutoppo=0;kills=kills+1;call delay(110);tr CLS;tr "\c1               *               *"
  371. tr "   *                       \cf|\c1            *";tr "        *      \cf\\/OU \\/\\/ON o"
  372. tr "               /    \c1*             *";tr " *                      *               *"
  373. tr "\n1\c2  You Won!  \c4 You Get \c1$"trunc(monoppo/2)"\c4!";writeln(news,'              'handle' beat 'them' on the highway!')
  374. money=trunc(money+(monoppo/2));monoppo=trunc(monoppo/2);call CHECKRANK;call SAVEOPPO;call delay(110)
  375. signal MENU1
  376. SAVEOPPO:
  377. call open(oppo,yupdir||them'.DAT','W') ;call writeln(oppo,nulla);call writeln(oppo,maxoppo);call writeln(oppo,wutoppo)
  378. call writeln(oppo,nullb);call writeln(oppo,monoppo);call writeln(oppo,armoppo);call writeln(oppo,wepoppo);call writeln(oppo,ranoppo)
  379. call writeln(oppo,nullc);call writeln(oppo,nulld);call writeln(oppo,defoppo);call writeln(oppo,handle);call writeln(oppo,kiloppo)
  380. call writeln(oppo,nulle);call close(oppo);call delay(200);return
  381. LOSTFIGHT:
  382. kiloppo=kiloppo+1;hitpoints=0;call delay(150) ;tr CLS;tr "\c2                                   _ ___"
  383. tr "              \\_/ /\\ | |    |  /\\ /   |  |||";tr "               |  \\/ |_|    |_ \\/ _\\  |  ooo"
  384. tr "\n1\c4   Serves ya right for thinking you were top yuppie!\n1";writeln(news,'               'handle' got his butt kicked by 'them'!')
  385. money=trunc(money/2);monoppo=trunc(monoppo+(money/2));tr "\c5 You lost \c1$"trunc(money/2)"\c5.";tr "\c5 You have 0 hitpoints."
  386. tr "\c3 Oh well, better luck next time!";call SAVEOPPO;signal MENU1
  387. DRAWFIGHT:
  388. kills=kills+1;kiloppo=kiloppo+1;hitpoints=0;wutoppo=0;defoppo=1;call delay(150);tr CLS
  389. tr center("\n1\c2AMAZING!",78);tr center("\n1\c4Both of you killed each other with your final blows!",78)
  390. tr center("\c4You both have 0 hitpoints, you kept your money.",78);writeln(news,'               'handle' and 'them' killed each other!');call CHECKRANK;call SAVEOPPO;call delay(110);signal MENU1
  391. TOP:
  392. tr "\n1\c2One Moment, Calculating High Scores...";call POINTCK;call HICK;call SHOWIT;signal MENU1
  393. HICK:
  394. call open(top10,yupdir'TopOnes','R');topalias.1=handle;topscore.1=points;do i=2 to 11
  395. tops=readln(top10);topalias.i=delword(tops,1,1);topscore.i=word(tops,1);if topalias.1=topalias.i then topscore.i='-1'
  396. end;call close(top10);do i=1 to 10;do h=i+1 to 11;if topscore.i<topscore.h then do
  397. temp=topscore.i;topscore.i=topscore.h;topscore.h=temp;tempor=topalias.i;topalias.i=topalias.h
  398. topalias.h=tempor;end;end;end;return
  399. SHOWIT:
  400. tr center("\f1\n1       \z6\c3   Top 10 Yuppies   \z0\c1",78);tr center("\c6--------------------------------------------\c1",73)
  401. tr '\n1';call open(top10,yupdir'TopOnes','W');do i=1 to 10;ss right('\c3'topalias.i,34,' ')
  402. tr '\c4 ' topscore.i;writeln(top10,topscore.i' 'topalias.i);end;call close(top10)
  403. tr "\n1\c1Press \c2RETURN\c1 when finished:\g1 ";signal MENU1
  404. TRIP:
  405. randm=RANDOM(1,3,Time('s'));rna=RANDOM(1,6,Time('s'));tr CLS;tr center("\n1             \z6\c3   First of the Last Travel Agency   \z0\c1\n1",78);tr center("\c3Today's places to travel",78);tr center("\c6--------------------------",78)
  406. tr '\c1'
  407. if randm=1 then tr center("A. Washington D.C.   ",78);if randm=2 then tr center("A. Wall Street - NY  ",78);if randm=3 then tr center("A. Outer Mongolia    ",78)
  408. if randm=1 then tr center("B. Peru              ",78);if randm=2 then tr center("B. Peru              ",78);if randm=3 then tr center("B. England           ",78)
  409. if randm=1 then tr center("C. Germany           ",78);if randm=2 then tr center("C. Switzerland       ",78);if randm=3 then tr center("C. Niagra Falls - NY ",78)
  410. if randm=1 then tr center("D. Verona, Italy     ",78);if randm=2 then tr center("D. Athens, Greece    ",78);if randm=3 then tr center("D. Disney World      ",78)
  411. tr "\c1";ss "\c3Where do you want to travel, Sir?  \c6[\cfQ\c6]\c3 Quits:\c6> \c1";getchar;if nocarrier() then signal bye
  412. trav=result;if trav=PA then signal BYE;if trav="Q" then signal MENU1
  413. if randm=1 & trav="A" then signal WASHINGTON;if randm=1 & trav="B" then signal PERU
  414. if randm=1 & trav="C" then signal GERMANY;if randm=1 & trav="D" then signal VERONA
  415. if randm=2 & trav="A" then signal WALLSTREET;if randm=2 & trav="B" then signal PERU
  416. if randm=2 & trav="C" then signal SWITZERLAND;if randm=2 & trav="D" then signal ATHENS
  417. if randm=3 & trav="A" then signal MONGOLIA;if randm=3 & trav="B" then signal ENGLAND
  418. if randm=3 & trav="C" then signal NIAGARA;if randm=3 & trav="D" then signal DISNEY
  419. signal TRIP
  420. WASHINGTON:
  421. price=9000;tr CLS;tr center("\z6\c3   Going to Washington D.C.   \z0\c1",78)
  422. tr "\n1   Washington D.C. is the political gut of our nation.  All the";tr " largest decisions are made here that effect our lives greatly."
  423. tr " (And hopefully our president has nothing to do with them.)\n1";call GOING
  424. tr "\c2Arrived in Washington D.C.\n1";call delay(80);rannum=RANDOM(1,5,Time('s'))
  425. if rannum=1 then do;tr "\c3In Washington D.C. you meet the";tr "\c3president and get a loan from him!"
  426. tr "\cfYou get $30000!";tr "\c6There's nothing like living off of";tr "honest taxpayers' money, eh?"
  427. money=money+30000;end;if rannum=2 then do;tr "\c3Lean too far out of the Washington"
  428. tr "\c3Monument and fall!";tr "\cfYou lose 20 hitpoints.";if hitpoints<20 then hitpoints=0
  429. if hitpoints>=20 then hitpoints=hitpoints-20;end;if rannum=3 then do
  430. tr "\c3Get appointed a supreme court judge!";tr "\cfYou earn $20000!";money=money+20000
  431. end;if rannum=4 then do;tr "\c3Get locked in a taxi from hell!";tr "\c3Tour the entire city 800 times over."
  432. tr "\cfLose $15000 cab fair.";if money<15000 then money=0;if money>=15000 then money=money-15000
  433. end;if rannum=5 then do;tr "\c3Read the constitution and feel";tr "\c3intellectually enlightened!"
  434. tr "\cfRecieve 40 hitpoints.";if maxpoints>=40 then hitpoints=hitpoints+40;if maxpoints<40 then hitpoints=maxpoints
  435. end;signal RATRACE
  436. RATRACE:
  437. call delay(100);qu "\n1\c1Press \c2RETURN\c1 when finished: ";if result=PA then signal BYE
  438. tr "\n1\c5Well, it's been fun but you gotta";tr "\c5get back into the rat race!"
  439. tr "\c1 ";call delay(210);signal MENU1
  440. PERU:
  441. price=7000;tr CLS;tr center("\z6\c3   Going to Peru   \z0\c1",78);tr "\n1   Peru is a land of beauty and mystery, just beware, it's a"
  442. tr " jungle out there!\n1";call GOING;tr "\c2Arrived in Peru.\n1";call delay(80)
  443. rannum=RANDOM(1,5,Time('s'));if rannum=1 then do;tr "\c3Learn ancient healing spells from"
  444. tr "\c3old scrolls...";tr "\cfGain "maxpoints" hitpoints!";hitpoints=maxpoints
  445. end;if rannum=2 then do;tr "\c3Fall off of cliff!";tr "\cfLost 30 hitpoints."
  446. if hitpoints<30 then hitpoints=0;if hitpoints>=30 then hitpoints=hitpoints-30
  447. end;if rannum=3 then do;tr "\c3Discover gold in an ancient tomb!";tr "\cfGain $50000!"
  448. money=money+50000;end;if rannum=4 then do;tr "\c3Get bitten by a snake and go to the"
  449. tr "\c\c1witch doctor!";tr "\cfHe charges you $10000 for services.";if money<10000 then money=0
  450. if money>=10000 then money=money-10000;end;if rannum=5 then do;tr "\c3Learn to dine CANNIBAL style!"
  451. tr "\cfGain 40 hitpoints!\n1";if maxpoints>=40 then hitpoints=hitpoints+40;if maxpoints<40 then hitpoints=maxpoints
  452. end;signal RATRACE
  453. GERMANY:
  454. price=10000;tr CLS;tr center("\z6\c3   Going to Germany   \z0\c1",78);tr "\n1   Ah Germany, good ol' Deutschland.  Home to many beers and";tr " bratwursts, a country of great prosperity risen out of the ashes"
  455. tr " of World War II.  (Not to mention it is great for partying!)\n1";call GOING;tr "\c2Arrived in Germany.\n1";call delay(80);rannum=RANDOM(1,5,Time('s'))
  456. if rannum=1 then do;tr "\c3Win a German Bratwurst eating contest!";tr "\cfWin $30000 and a Volkswagen!"
  457. money=money+30000;if armor=arm1|armor=arm2|armor=arm3|armor=arm4|armor=arm5|armor=arm6|armor=arm7|armor=arm8 then armor=arm9
  458. end;if rannum=2 then do;tr "\c3Party too much and have a hangover the";tr "\c3size of Africa!"
  459. tr "\cfLose 20 hitpoints.";if hitpoints<20 then hitpoints=0;if hitpoints>=20 then hitpoints=hitpoints-20
  460. end;if rannum=3 then do;tr "\c3Total your vehicle on the autobahn!";tr "\cfLose $25000 for repairs."
  461. if money<25000 then money=0;if money>=25000 then money=money-25000;end
  462. if rannum=4 then do;tr "\c3Recieve a vitamin mixture from the";tr "\c3local Apothecary!"
  463. tr "\cfGain "maxpoints" hitpoints!";hitpoints=maxpoints;end;if rannum=5 then do
  464. tr "\c3Get caught on the cirle drives for";tr "three days!";tr "\cfLose $1000 for gas."
  465. if money<1000 then money=0;if money>=1000 then money=money-1000;end;signal RATRACE
  466. VERONA:
  467. price=4000;tr CLS;tr center("\z6\c3   Going to Verona, Italy   \z0\c1",78)
  468. tr "\n1   Verona, Italy -- the host city to the immortal love story of";tr " Shakespeare's Romeo and Juliet, truly the greatest love story"
  469. tr " ever written...  (although a bit cryptic!)\n1";call GOING;tr "\c2Arrived in Verona, Italy.\n1"
  470. call delay(80);rannum=RANDOM(1,4,Time('s'));if rannum=1 then do;tr "\c3See a play done of Romeo and Juliet!"
  471. tr "\cfPay $4000 to see it.";if money<4000 then money=0;if money>=4000 then money=money-4000
  472. end;if rannum=2 then do;tr "\c3Visit the Capulet's Tomb and get";tr "trapped for a week!"
  473. tr "\cfLose 40 hitpoints!";if hitpoints<40 then hitpoints=0;if hitpoints>=40 then hitpoints=hitpoints-40
  474. end;if rannum=3 then do;tr "\c3Some people think you look just like";tr "\c3Romeo! (Which is odd if you are a woman.)"
  475. tr "\cfRecieve in gifts $18000!";money=money+18000;end;if rannum=4 then do
  476. tr "\c3Some people think you look just like";tr "\c3Juliet! (Whick is odd if you are a man.)"
  477. tr "\cfRecieve in gifts $19000!";money=money+19000;end;signal RATRACE
  478. WALLSTREET:
  479. price=12500;tr CLS;tr center("\z6\c3   Going to Wall Street!   \z0\c1",78);tr "\n1   Wall Street, where money is made and fortunes are lost.  Where";tr " great men are made and greedy men are broken.  This crazy place"
  480. tr " is locked in the heart of a crazy city, where else, New York.\n1";call GOING
  481. tr "\c2Arrived at Wall Street.\n1";call delay(80);rannum=RANDOM(1,5,Time('s'))
  482. if rannum=1 then do;tr "\c3You break even on the stocks...";tr "\cfRecieve $12500 salary."
  483. money=money+12500;end;if rannum=2 then do;tr "\c3HIT IT BIG IN DOW JONES!"
  484. tr "\cfRecieve $75000!!!\c1";money=money+75000;end;if rannum=3 then do;tr "\c3Get mugged in the big apple!"
  485. tr "\cfLose $20000.";if money<20000 then money=0;if money>=20000 then money=money-20000
  486. end;if rannum=4 then do;tr "\c3Get hit by a maniac cab driver!";tr "\cfYou lose 50 hitpoints."
  487. if hitpoints<50 then hitpoints=0;if hitpoints>=50 then hitpoints=hitpoints-50
  488. end;if rannum=5 then do;tr "\c3AT&T goes through the roof!";tr "\cfGain $55000!"
  489. money=money+55000;end;signal RATRACE
  490. SWITZERLAND:
  491. price=8500;tr CLS;tr center("\z6\c3   Going to Switzerland   \z0\c1",78);tr "\n1   Switzerland is famous for skiing, watches, and many other things"
  492. tr " that I guess I'm too stupid to think of right now.  The swiss,";tr " locked in a mountainous cage, stands protected from enemy countries"
  493. tr " thus remaining one of the FEW neutral countries.\n1";call GOING;tr "\c2Arrived in Swizerland."
  494. call delay(80);tr " \c1";rannum=RANDOM(1,5,Time('s'));if rannum=1 then do;tr "\c3Go skiing in the Swiss Alps and"
  495. tr "break your leg!";tr "\cfLose 40 hitpoints.";if hitpoints<40 then hitpoints=0;if hitpoints>=40 then hitpoints=hitpoints-40
  496. end;if rannum=2 then do;tr "\c3AVALANCHE!!! You are buried in";tr "\c3snow!"
  497. tr "\cfLose 40 hitpoints.";if hitpoints<40 then hitpoints=0;if hitpoints>=40 then hitpoints=hitpoints - 40
  498. end;if rannum=3 then do;tr "\c3Save a millionare's life in a chair";tr "\c3lift accident! (He fell on you.)"
  499. tr "\cfWin $50000!";money=money+50000;end;if rannum=4 then do;tr "\c3Eat enough to feed a horse!"
  500. tr "\cfGain "maxpoints" hitpoints.";hitpoints=maxpoints;end;if rannum=5 then do
  501. tr "Find a cave with ancient artifacts!";tr "\cfGet $30000!";money=money+30000
  502. end;signal RATRACE
  503. ATHENS:
  504. price=10000;tr CLS;tr center("\z6\c3   Going to Athens   \z0\c1",78);tr "\n1   Athens, Greece, the heart of Greek mythology.  Many stories and";tr " plays were made of this place relating to the Gods, and their"
  505. tr " adventures.\n1";call GOING;tr "\c2Arrived in Athens, Greece.";call delay(80)
  506. rannum=RANDOM(1,5,Time('s'));if rannum=1 then do;tr "\n1\c3Go to watch a play of Antigone."
  507. tr "\cfPay $5000.";if money<5000 then money=0;if money>=5000 then money=money-5000
  508. end;if rannum=2 then do;tr "\c3Meet Zeus!  He gives you a gift!";tr "\cfRecieve $30000!"
  509. money=money+30000;end;if rannum=3 then do;tr "\c3Hades kidnaps you to the underword!"
  510. tr "\cfLose 50 hitpoints.";if hitpoints<50 then hitpoints=0;if hitpoints>=50 then hitpoints=hitpoints-50
  511. end;if rannum=4 then do;tr "\c3Eat ambrosia and drink nectar!";tr "\cfGain "maxpoints" hitpoints!"
  512. hitpoints=maxpoints;end;if rannum=5 then do;tr "\c3Buy a colluseum!";tr "\cfPay $22000!"
  513. if money<22000 then money=0;if money>=22000 then money=money-22000;end;signal RATRACE
  514. MONGOLIA:
  515. price=4000;tr CLS;tr center("\z6\c3   Going to Outer Mongolia!   \z0\c1",78)
  516. tr "\n1   Outer Mongolia... hmm.. hard to explain, but in itself an ";tr " adventure.  This country was the fertle ground in which Ghengis"
  517. tr " Kahn rose out of to ravage China. (And we all know what he's like!";tr " -imagine what the country must be like!) "
  518. call GOING;tr "\n1\c2Arrived in Outer Mongolia.\n1";call delay(80);rannum=RANDOM(1,5,Time('s'))
  519. if rannum=1 then do;tr "\c3Learn the ancient art of wizardry";tr "\c3and heal yourself!"
  520. tr "\cfGain "maxpoints" hitpoints!";hitpoints=maxpoints;end;if rannum=2 then do
  521. tr "\c3Climb to a mountaintop to get words";tr "\c3of wisdom from an old wiseman only"
  522. tr "\c3to find him dead!";tr "\cfLose 40 hitpoints for the effort.";tr "Pay $10000 for funeral services."
  523. if hitpoints<40 then hitpoints=0;if hitpoints>=40 then hitpoints=hitpoints-40
  524. if money<10000 then money=0;if money>=10000 then money=money-10000;end
  525. if rannum=3 then do;tr "\c3Win Mongolia's famous gameshow:";tr "\c3STALK DOWN THE WILD BEAR AND KILL"
  526. tr "\c3IT WITH YOUR BARE HANDS AND TONGUE!";tr "\cfWin $40000!";money=money+40000
  527. end;if rannum=4 then do;tr "\c3Record Mongolia's #1 song:";tr "\c3Ode to Ghengis Kahn."
  528. tr "\cfWin $25000!";money=money+25000;end;if rannum=5 then do;tr "\c3Break Mongolia's law of not"
  529. tr "using utensils.";tr "\cfFined $20000.";if money<20000 then money=0
  530. if money>=20000 then money=money-20000;end;signal RATRACE
  531. ENGLAND:
  532. price=9500;tr CLS;tr center("\z6\c3   Going to England   \z0\c1",78);tr "\n1   Jolly Ol' England, as they say, is a whole different culture from"
  533. tr " the American sort.  Here queens and kings are supported (as well as";tr " Amigas!)"
  534. call GOING;tr "\n1\c2Arrived in England.\n1";call delay(80);rannum=RANDOM(1,5,Time('s'));if rannum=1 then do
  535. tr "\c3Become the Price of Wales!";tr "\cfEarn $32000!";money=money+32000;end
  536. if rannum=2 then do;tr "\c3Discover the genetic secret of";tr "why the english have extremely"
  537. tr "\c3large noses!";tr "\cfWin $23000!";money=money+23000;end;if rannum=3 then do
  538. tr "\c3Get envolved in a 20 bicycle";tr "pileup!";tr "Lose 35 hitpoints."
  539. if hitpoints<35 then hitpoints=0;if hitpoints>=35 then hitpoints=hitpoints-35
  540. end;if rannum=4 then do;tr "\c3Get pulled over for driving on the";tr "\c3wrong side of the road!"
  541. tr "\cfFined $35000!";if money<35000 then money=0;if money>=35000 then money=money-35000
  542. end;if rannum=5 then do;tr "\c3Accidentally get trapped watching a";tr "\c39 hour movie that is extremely boring"
  543. tr "and not even in the english language!";tr "Lose $23000 parking meter fees."
  544. tr "\cfLose 10 hitpoints for IQ point loss.";if money<23000 then money=0;if money>=23000 then money=money-23000
  545. if hitpoints<10 then hitpoints=0;if hitpoints>=10 then hitpoints=hitpoints-10
  546. end;signal RATRACE
  547. NIAGARA:
  548. price=11000;tr CLS;tr center("\z6\c3   Going to Niagara Falls, NY   \z0\c1",78)
  549. tr "\n1   Niagara Falls, the famed gigantic falls which have claimed lives";tr " and made fame.  Their sight is breathtaking.  --Plus there are a"
  550. tr " multitude of wax museums for those who don't like water!\n1";call GOING
  551. tr "\c2Arrived in Niagara Falls, NY.\n1";call delay(80);rannum=RANDOM(1,6,Time('s'))
  552. if rannum=1 then do;tr "\c3Walk across the falls on a";tr "tightrope!";tr "\cfWin $20000!"
  553. money=money+20000;end;if rannum=2 then do;tr "\c3Attempt at walking across the"
  554. tr "\c3falls on a tightrope--AND FALL";tr "\c3IN!  (Smooth move ex-lax!)";tr "\cfLose 50 hitpoints."
  555. if hitpoints<50 then hitpoints=0;if hitpoints>=50 then hitpoints=hitpoints-50
  556. end;if rannum=3 then do;tr "\c3Go down the falls in a barrel!";tr "\c3And.. well, it isn't pretty."
  557. tr "\cfLose 50 hitpoints.";if hitpoints<50 then hitpoints=0;if hitpoints>=50 then hitpoints=hitpoints-50
  558. end;if rannum=4 then do;tr "\c3Get stuck in wax museum hell!";tr "\cfLose $19000!"
  559. if money<19200 then money=0;if money>=19000 then money=money-19000;end;if rannum=5 then do
  560. tr "\c3Discover PLUTONIUM under the falls!";tr "\cfAwarded $55000!";money=money+55000
  561. end;if rannum=6 then do;tr "\c3Discover the fountain of youth in";tr "the falls!"
  562. tr "\cfYou get "maxpoints" hitpoints!";hitpoints=maxpoints;end;signal RATRACE
  563. DISNEY:
  564. price=13000;tr CLS;tr center("\z6\c3   I'm Going to Disney World!   \z0",78)
  565. tr "\n1   "handle", you have just one the Super Bowl,!  Where are you";tr " going next?  ;-)  Yes, childrens' paradise and adults wonder,"
  566. tr " this wonderous place was founded by a man who wanted a fun place";tr " different from the dirty, dusty carnivals in this world, Walt Disney"
  567. call GOING;tr "\n1\c2Arrived in Disney World.\n1";call delay(50);rannum=RANDOM(1,5,Time('s'));if rannum=1 then do;tr "\c3Uncover Disney's multibillion"
  568. tr "\c3dollar plot to initiate SDI!";tr "\cfAwarded $33000!";money=money+33000
  569. end;if rannum=2 then do;tr "\c3Get trapped on Space Mountain";tr "roller coaster without a seatbelt!"
  570. tr "\cfLose 60 hitpoints.";if hitpoints<60 then hitpoints=0;if hitpoints>=60 then hitpoints=hitpoints-60
  571. end;if rannum=3 then do;tr "\c3You get to star in a Disney movie!";tr "\cfPayed $20000!"
  572. money=money+20000;end;if rannum=4 then do;tr "\c3You are mysteriously turned into an"
  573. tr "animated penguin!";tr "\cfLose $40000! (Penguins have no";tr "\cfpockets.. do they?)"
  574. if money<40000 then money=0;if money>=40000 then money=money-40000;end;if rannum=5 then do
  575. tr "\c3Your fairy godfather grants you";tr "\c3hitpoints!";tr "\cfGranted "maxpoints" hitpoints!"
  576. hitpoints=maxpoints;end;signal RATRACE
  577. GOING:
  578. tr "\n1\c3You have $\c1"money"\c3.  The trip costs \c1"price"\c3.";ss "\n1\c3Wanna go? (\c5Y\c3/\c2n\c3):\c6> \c1";getchar;if nocarrier() then signal bye
  579. ans=result;if ans=PA then signal BYE;if ans="N" then signal TRIP;tr CLS
  580. if money<price then do;tr center("\n1\c2YOU DON'T HAVE ENOUGH MONEY TO GO!",78)
  581. tr "\c1 ";call delay(150);signal TRIP;end;money=money-price;tr "\n1\c5Money Paid...\c1"
  582. ss "\c4Taking flight...\c1";rando=RANDOM(1,20,Time('s'));call delay(90);ss "\cf You ate the plane's food -- gain "rando" hitpoints.\c1"
  583. call delay(90);hitpoints=hitpoints+rando;tr "\n1\c4Landing...";call delay(100)
  584. ransak=RANDOM(1,200,Time('s'));if ransak=13|ransak=21|ransak=192|ransak=112|ransak=80 then do
  585. if money>=50000 then money=money-20000;if money<50000 then money=money-money
  586. if hitpoints>=80 then hitpoints=hitpoints-30;if hitpoints<80 then hitpoints=hitpoints-hitpoints
  587. tr "\c2YOUR PLANE CRASH LANDED!!!";tr "YOU LOSE 80 HITPOINTS!";tr "\c2YOU LOSE 50000 DOLLARS TO GET A TRIP BACK & HOSPITAL FEES!"
  588. ss "\n1\c3Sue the pilot (Y/n)? ";getchar;if nocarrier() then signal bye;ans=result;if ans=PA then signal BYE;if ans="N" then do;tr "\c4Ok.. not sueing him."
  589. call delay(100);signal MENU1;end;signal SUEHIM;end;return
  590. SUEHIM:
  591. rannum=RANDOM(1,3,Time('s'));if rannum=1 then verdict="GUILTY";if rannum=2 then verdict="NOT GUILTY"
  592. if rannum=3 then verdict="NOT GUILTY";tr CLS'\n1';tr "\c2A long a tedious trial goes on..."
  593. tr "\c2and now here's the charge...";tr "\c1 ";tr "\c3We the jury, find in the case of"
  594. tr "the Pilot: \c2"verdict"\c3!\n1";if rannum=1 then do;tr "\c4Money in the amount of $100000"
  595. tr "\c4to the plaintiff "handle"!";money=money+100000;writeln(news,'               'handle' won $100000 in court!')
  596. call delay(80);end;if rannum=2 then do;tr "\c4It was the planes falt, not";tr "\c4the Pilot's fault.  Nothing"
  597. tr "\c4gained, nothing lost.";call delay(80);end;if rannum=3 then do;tr "\c4It was the planes fault, not the"
  598. tr "\c4Pilot's.  THE PILOT IS OUTRAGED";tr "\c4AND SUES YOU FOR $10000! AND WINS!"
  599. if money>=10000 then money=money-10000;if money<10000 then money=0;call delay(80);end
  600. tr "\c6Justice is served.\c1\n1";qu "Press \c2RETURN\c1 when finished: "if result=PA then signal BYE
  601. signal MENU1
  602. REST:
  603. lost=maxpoints-hitpoints;fiz=RANDOM(1,750,Time('s'));if rank=ran1 then pernight=500
  604. if rank=ran2 then pernight=700;if rank=ran3 then pernight=900;if rank=ran4 then pernight=1100
  605. if rank=ran5 then pernight=1400;if rank=ran6 then pernight=2000;if rank=ran7 then pernight=2500
  606. if rank=ran8 then pernight=2800;if rank=ran9 then pernight=3000;if rank=ran10 then pernight=3300
  607. if rank=ran11 then pernight=3500;if rank=ran12 then pernight=3800;room=pernight+fiz
  608. tr CLS;tr "\z0\c1"
  609. tr "      _____/_________________________________________________\\_____"
  610. tr "     |_____________________\c4-= LE GRANDE HOTEL =-\c1___________________|"
  611. tr "        |\\_________/     ________________________    \\_________/|"
  612. tr "        |  \\_____/       \\______________________/      \\_____/  |"
  613. tr "        |   || ||         |\\__________________/|        || ||   |"
  614. tr "        |   || ||         | \c6| |     ||     | | \c1|        || ||   |"
  615. tr "        |   || ||         | \c6| |\c3 \\\c6   ||     | | \c1|        || ||   |"
  616. tr "        |   || ||         | \c6| |\c3 \\  \cf[\c6||\cf]\c6    | | \c1|        || ||   |\z0\c1"
  617. tr "        |   || ||         | \c6| |     || \c3\\\c6   | | \c1|        || ||   |\z0\c1"
  618. tr "      __|___||_||_________|/\c5#\c6\\|_____||_____|/\c5#\c1\\|________||_||___|__\z0\c1"
  619. tr "\c5      #####\c1/_____\\\c5###########\c6/\c2/            \\\c6\\\c5##########\c1/_____\\\c5#####\z0\c1"
  620. tr "\c5      #######################\c2/              \\\c5######################"
  621. tr "      ######################\c2/                \\\c5#####################"
  622. tr "      #####################\c2/                  \\\c5####################"
  623. tr "      ####################\c2/____________________\\\c5###################"
  624. tr "\n1\c4                     Right now it costs $\c1"room"\c4 per night."
  625. tr "\c3             30 hitpoints healed a night. - You need to heal \c1"lost"\c3."
  626. qu "\n1\c3 Stay how many nights? \c6[\cfQ\c6]\c3 Quits\c6:\z0";stay=upper(result);if stay=PA then signal DIE;if stay="Q" then signal MENU1;if stay=""|stay=" "|stay="  "|stay="   "|stay="    "|stay="     " then signal MENU1
  627. if stay=0 then do;tr CLS;tr "\n1\c3What, are you just going to mope around in the lounge all day?"
  628. tr "\z0";call delay(150);signal MENU1;end;if stay>9999999999999999999999999999999999999999999999999999999999999999999999999999999999 then signal YOT
  629. if stay<0 then signal YOT;payme=stay*room;if payme>money then do;tr CLS
  630. tr center("\n1\c2You don't have enough money to stay here that long!",78);tr " \z0"
  631. call delay(130);end;if money=payme then do;tr "\n1\c4You are going to be \c2BROKE\c4 if you stay here that long!\z0"
  632. ss "\n1\c3Stay here anyway (\c5Y\c3/\c2n\c3)? \z0";getchar;if nocarrier() then signal bye;stayany=result;if stayany=PA then signal BYE;if stayany="N" then do
  633. tr "\c6Ok.. leaving Hotel...\z0";call delay(100);signal MENU1;end;end;if payme<=money then signal RESTHERE
  634. signal MENU1
  635. YOT:
  636. tr CLS;tr center("\n1\c2You must enter a NUMBER! ",78);tr "\z0 ";call delay(110);signal REST
  637. RESTHERE:
  638. money=money-payme;runny=RANDOM(1,200,Time('s'));if runny>=money then runny=0
  639. tr CLS;tr center("\n1\cfEnjoy your stay!\n1",78);turnsleft=turnsleft-1;ss "\c3Sleeping."
  640. do i=1 to 20;ss "\c3Zzzzzzzzz\w2 ";call delay(20);i=i+1;end;hitpoints=hitpoints+(stay*30)
  641. if hitpoints>maxpoints then hitpoints=maxpoints;tr "\n1\c3Ahhh.. you feel refreshed!"
  642. tr "\c3You order $\c1"runny"\c3 in room service.";if money=0 then tr "\c3By the way.. \c2You're Broke!\z0"
  643. qu "\n1\c1 Press \c2RETURN\c1 when finished:\z0 ";if result=PA then signal BYE;signal MENU1
  644. YOURSTATS:
  645. tr CLS;tr "\n1                \z6\c3   Player Statistics For The Yuppie "handle"   \z0"
  646. tr center("\c6 ----------------------------------------------------------------------- ",78)
  647. call POINTCK;tr "\n1\c4                         Points: \c1"points
  648. tr "\c4                           Rank: \c1"rank;tr "\c4                      Hitpoints: \c1"hitpoints
  649. tr "\c4                     Turns Left: \c1"turnsleft;tr "\c4                         Weapon: \c1"weapon
  650. tr "\c4                        Vehicle: \c1"armor;tr "\c4                          Money: \c1$"money
  651. tr "\c4                     Bank Money: \c1$"bmoney;tr "\c4                 Lifetime Kills: \c1"kills
  652. qu "\n1\c1 Hit \c2RETURN\c1 when finished: \z0";if result=PA then signal BYE;signal MENU1
  653. VEGAS:
  654. currentmem=storage();if currentmem<lowmem then do;tr CLS;tr CENTER("\n1\c2Sorry!  Out of memory!  Saving and exiting...",78)
  655. call delay(190);signal BYE;end;if turnsleft <= 0 then do;tr CLS;tr center("\n1        \z6\c3   You must like this game!   \z0",78)
  656. tr center("\n1\c2But anyway, you have played all your 25 turns out.",78);tr center("Try calling back tomarrow and playing again!",78)
  657. qu "\n1\c1Press \c2RETURN\c1 when finished: ";signal OUTTAHERE;end;tr CLS
  658. tr "                 \c1*\c2                ____"
  659. tr "\c2 __ \c1 *\c2      ____  ___     /\\  \c1 *\c2 / __/"
  660. tr "\c2 \\ \\    __ /___/ /___\\   //\\\\   / /"
  661. tr "\c2  \\ \\  / ///_   //  \c1*\c2\\\\ / \\/ \\ / /"
  662. tr "\c2   \\ \\/ //__/   \\\\___/// ____ \\\\ \\___ \c1*"
  663. tr "\c2    \\  / \\\\_____ \\__ // /  __\\ \\\\_  /"
  664. tr "\c1  * \c2 \\/   \\____/___// \\/   \\__\\/___/"
  665. tr "\c1        *  \c2/_______/\c6 __________________________"
  666. tr "\c6                    /------\o1\c3What To Play\c6-------/ "
  667. tr "\c6                   /                         / "
  668. tr "\c6                  /     \o1 [\cfS\c6] \c3Slots\c6          / "
  669. tr "\c6                 /     \o1 [\cfL\c6] \c3Lotto\c6          / "
  670. tr "\c6                /     \o1 [\cfC\c6] \c3Craps\c6          / "
  671. tr "\c6               /     \o1 [\cfF\c6] \c3Fifty-Fifty\c6    / "
  672. tr "\c6              /     \o1 [\cfQ\c6] \c3Leave Vegas\c6    / "
  673. tr "\c6             /_________________________/ "
  674. tr "\z0";ss "\c3What game do you want to play?\c6> ";getchar;if nocarrier() then signal bye
  675. Choice=result;if Choice=PA then signal BYE;if Choice="Q" then signal MENU1;if Choice="S" then do
  676. getuser 28;term=result;if term=0|term=1 then do;tr 'Sorry U Must have ANSI to play this game!';delay(200);signal Vegas;end
  677. signal SLITS;end;if Choice="L" then signal LOTTO;if Choice="C" then signal CRAPS;if Choice="F" then signal FIFTY;signal VEGAS
  678. FIFTY:
  679. if money <= 0 then do;tr CLS;tr center("\n1\c2YOU NEED MONEY TO PLAY!",78)
  680. call delay(150);signal VEGAS;end;t=b;tr CLS"\n1                        \z6\c3   Playing Fifty-Fifty   \z0"
  681. tr center("\n1\c3You have a %50 chance of winning double your bet.",78)
  682. ss "\n1\c6 You have $\c3"money"\c6, your bet (Max $\c35000\c6)?"
  683. qu " ";Betty=result;if Betty='Q' then signal VEGAS
  684. if Betty=PA then signal BYE;if Betty>money then do;tr center("\n1\c2YOU DON'T HAVE ENOUGH MONEY TO BET THAT MUCH!\n1",78)
  685. call delay(110);signal FIFTY;end;if Betty>5000|Betty<1 then do;tr CLS
  686. tr center("\n1\c2You must bet between 1 and 5000!\n1",78);call delay(110)
  687. signal FIFTY;end;if Betty<=5000 & Betty>=1 then do;if trunsleft<1 then do;tr 'You have No turns left!';signal menu1;end; turnsleft=turnsleft-1;signal LATER;else call YO;signal FIFTY
  688. LATER:
  689. rnm=RANDOM(1,4,Time('s'));if rnm=1|rnm=3 then do;money=money-Betty
  690. tr "\n1\cf You lost this time, bud!";tr "\c4 You lost $\c1"Betty"\c4.\n1"
  691. call delay(150);signal PLAYGEN;end;if rnm=2|rnm=4 then do;tr "\cf You Won!!!"
  692. tr "\c4 You won $\c1"Betty*2"\c4!\n1";money=money+(Betty*2);call delay(150)
  693. signal PLAYGEN;end;signal PLAYGEN
  694. LOTTO:
  695. if money<=0 then do;tr CLS'\n1';tr center("\c2YOU NEED MONEY TO PLAY THIS GAME!",78)
  696. call delay(150);signal VEGAS;end;t=a;tr cls"\n1                         \z6\c3   Playing the Lotto   \z0"
  697. flag=f;tr "\n1\c6 You have $\c3"money"\c6.  Maximum bet is $\c35000\c6."
  698. qu "\c3 How much money do you want to bet?:\z0";Wager=upper(result);if Wager=PA then signal BYE;if Wager="Q" then signal VEGAS
  699. if Wager>money then do;tr center("\n1\c2YOU DON'T HAVE ENOUGH MONEY TO BET THAT MUCH!\n2",78)
  700. call delay(110);signal LOTTO;end;if Wager>5000 then do;tr center("\c2MAXIMUM BET IS $5000!\n1",78)
  701. call delay (110);signal LOTTO;end;if Wager>=1 & Wager<=5000 then do;if trunsleft<1 then do;tr 'You have No turns left!';signal menu1;end;turnsleft=turnsleft-1;signal WEZ;end
  702. else call YO;signal LOTTO
  703. WEZ:
  704. ss "\n1\c3 Bet \cf"Wager"\c3 (\c5Y\c3/\c2n\c3)?: ";getchar;if nocarrier() then signal bye;okeydokey=result;if okeydokey=PA then signal BYE;if okeydokey="N" then signal LOTTO
  705. signal GOON
  706. GOON:
  707. tr CLS'\n1';tr center("\c3Enter a number between 1 and 50, if that number comes up, you win",78)
  708. tr center("\c3five times that amount, if you lose, you get one last chance to",78)
  709. tr center("enter a number between 1 and 50, if you win, you will get triple",78)
  710. tr center("your bet.  If you win any of the two, you get a chance to go on",78)
  711. tr center("to the finals where you get a chance to win 10 times your bet, but",78)
  712. tr center("your chances are one in 60.\n1",78)
  713. if flag=lasttime then do;tr center("\c5This is your last chance to win your money back,",78)
  714. tr center("\c5if you don't win, you just lose what you originally",78);tr center("\c5betted, you won't lose more than you betted.\n1",78)
  715. end;ss "\c4   Enter a number between 1 & 50:";qu " ";numb=result;if numb=PA then signal BYE;if numb<=50 & numb>=1 then signal WEENIE;else call YO;signal GOON
  716. WEENIE:
  717. tr CLS'\n2';rannum=RANDOM(1,50,Time('s'));ss "\c4 And, the number is... \z0";call delay(50);tr rannum"\c4!\n1"
  718. if rannum=numb then do;tr center("\cfYou Won!!!",78);tr center("\c5       You won $\c1"Wager*5"\c5!!!",78)
  719. tr center("\c4Good Job!!",78);if flag=f then money=money+(Wager*5);if flag=lasttime then money=money+(Wager*3)
  720. signal FINALDRAW;end;if rannum ~=numb then do;if flag=f then money=money-Wager
  721. tr center("\cfOh, to bad, you lose!",78);if flag=f then tr center("\c5        You lost $\c1"Wager"\c5.",78)
  722. if flag=lasttime then tr center("\c5You didn't lose anything this time.",78);tr center("\c4Oh well, better luck next time!",78)
  723. if flag=lasttime then do;tr center("\c2You didn't win your money back!",78);call delay(170);signal PLAYGEN
  724. end;signal LASTCHANCE
  725. FINALDRAW:
  726. call delay(150);randu=RANDOM(1,60,Time('s'));tr CLS;tr "\c1    *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *\n1"
  727. tr "    *  \c2 You have made made it this far, now lets see if you\c1  *"
  728. tr "\c2       can win the REALLY BIG bucks!\c1";tr "    *                                                        *"
  729. tr "    *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *\z0"
  730. call delay (200);tr center("\n1\c6Using your winning number for the draw.",78)
  731. ss "\n1\c4And... The winning number is... \z0";call delay(50);tr randu"\c4!\c1\n1"
  732. if randu=numb then do;tr center("\cfYOU WIN!!!",78);tr center("\c5       You won $\c1"Wager*10"\c5!!",78)
  733. tr center("\c2GOOD JOB!\n1",78);money=money+(Wager*10);writeln(news,'              'handle' wins 'wager*10' in the lotto at vegas!')
  734. tr "\c3The bright-red faced casino manager quickly ushers you out the door.\n1"
  735. call delay(300);signal PLAYGEN;end;if randu ~=numb then do;tr center("\cfAwww.. too bad, you lost.",78)
  736. tr center("\c5But at least you didn't lose anything!",78);tr center("\c2Better luck next time!",78)
  737. tr "\n1\c3The relieved casino manager asks you to come back anytime.\n1"
  738. call delay(200);signal PLAYGEN;end;signal PLAYGEN
  739. PLAYGEN:
  740. tr cls"\n1\c3 Would you like to play again (\c5y\c3/\c2N\c3)? ";getchar;if nocarrier() then signal bye
  741. comegen=result;if comegen=PA then signal BYE;if comegen="N" then signal VEGAS;if comegen="Y" then do;if t=a then signal LOTTO
  742. if t=b then signal FIFTY;end;signal VEGAS
  743. LASTCHANCE:
  744. call delay(150);flag=lasttime;signal GOON
  745. YO:
  746. tr CLS'\n1';tr center("\c2YOUR ANSWER MUST BE A NUMBER BETWEEN 1 AND 50!\n1",78)
  747. call delay(110);return
  748. BUYORSELLW:
  749. tr CLS'\n1';do d=1 to 12;if weapon=wep||d then tr "\c3 Your current weapon is a "wep||d".\c1"
  750. end;ss "\n1\c5 Buy or Sell your weapon (B/S)? ";getchar;if nocarrier() then signal bye;Choice=result;if Choice=PA then signal BYE;if Choice=B then signal BUYWEAPON
  751. if Choice=S then signal SELLWEAPON;if Choice=Q then signal MENU1;signal MENU1
  752. BUYORSELLA:
  753. tr CLS'\n1';do d=1 to 12;if armor=arm||d then tr "\c3Your current vehicle is a "arm||d".\c1";end
  754. ss "\n1\c5Buy or Sell your vehicle (B/S)? \c1";getchar;if nocarrier() then signal bye;Choice=result;if Choice=PA then signal BYE;if Choice=B then signal BUYARMOR
  755. if Choice=S then signal SELLARMOR;if Choice=Q then signal MENU1;signal MENU1
  756. BUYWEAPON:
  757. w=b;tr CLS;tr "                   \z6\c3  Macy's Department Store Weapons  \z0"
  758. tr "\c6 ----------------------------------------------------------------------"
  759. tr "\cf   A.\c4 Squirt Gun                         \c2Rank:\c4 1   \c5 Price:\c4 $100   "
  760. tr "\cf   B.\c4 Spitwad Launcher                   \c2Rank:\c4 2   \c5 Price:\c4 $2000  "
  761. tr "\cf   C.\c4 Frisbee                            \c2Rank:\c4 3   \c5 Price:\c4 $10000  "
  762. tr "\cf   D.\c4 Laser Tag Gun                      \c2Rank:\c4 4   \c5 Price:\c4 $25000 "
  763. tr "\cf   E.\c4 Paint Ball Gun                     \c2Rank:\c4 5   \c5 Price:\c4 $40000 "
  764. tr "\cf   F.\c4 Darts                              \c2Rank:\c4 6   \c5 Price:\c4 $55000 "
  765. tr "\cf   G.\c4 Baseball                           \c2Rank:\c4 7   \c5 Price:\c4 $75000 "
  766. tr "\cf   H.\c4 Bart Simpson Doll                  \c2Rank:\c4 8   \c5 Price:\c4 $85000 "
  767. tr "\cf   I.\c4 Chainsaw                           \c2Rank:\c4 9   \c5 Price:\c4 $100000"
  768. tr "\cf   J.\c4 Teenage Mutant Ninja Turtles Doll  \c2Rank:\c4 10  \c5 Price:\c4 $200000"
  769. tr "\cf   K.\c4 New Kids On The Block Poster       \c2Rank:\c4 11  \c5 Price:\c4 $420000"
  770. tr "\cf   L.\c4 New Kids On The Block CD           \c2Rank:\c4 12  \c5 Price:\c4 $750000"
  771. tr "\n1\c1                               Press Q To Quit      \n1";ss "\c3You have $\c1"money"\c3.  What weapon do you want Sir?\c6> \c1";getchar;if nocarrier() then signal bye
  772. Choice=result;if Choice=PA then signal BYE;if Choice="Q" then signal MENU1;if Choice="A" then do;if weapon=wep1 then signal ALREADYHAVE
  773. if money<10 then signal NOMONEY;money=money-10;weapon=wep1;call BOT;end;if Choice="B" then do
  774. if weapon=wep2 then signal ALREADYHAVE;if money<2000 then signal NOMONEY;money=money-2000
  775. weapon=wep2;call BOT;end;if Choice="C" then do;if weapon=wep3 then signal ALREADYHAVE
  776. if money<10000 then signal NOMONEY;money=money-10000;weapon=wep3;call BOT;end
  777. if Choice="D" then do;if weapon=wep4 then signal ALREADYHAVE;if money<25000 then signal NOMONEY
  778. money=money-25000;weapon=wep4;call BOT;end;if Choice="E" then do;if weapon=wep5 then signal ALREADYHAVE
  779. if money<40000 then signal NOMONEY;money=money-40000;weapon=wep5;call BOT;end
  780. if Choice="F" then do;if weapon=wep6 then signal ALREADYHAVE;if money<55000 then signal NOMONEY
  781. money=money-55000;weapon=wep6;call BOT;end;if Choice="G" then do;if weapon=wep7 then signal ALREADYHAVE
  782. if money<75000 then signal NOMONEY;money=money-75000;weapon=wep7;call BOT;end
  783. if Choice="H" then do;if weapon=wep8 then signal ALREADYHAVE;if money<85000 then signal NOMONEY
  784. money=money-85000;weapon=wep8;call BOT;end;if Choice="I" then do;if weapon=wep9 then signal ALREADYHAVE
  785. if money<100000 then signal NOMONEY;money=money-100000;weapon=wep9;call BOT;end
  786. if Choice="J" then do;if weapon=wep10 then signal ALREADYHAVE;if money<200000 then signal NOMONEY
  787. money=money-200000;weapon=wep10;call BOT;end;if Choice="K" then do;if weapon=wep11 then signal ALREADYHAVE
  788. if money<420000 then signal NOMONEY;money=money-420000;weapon=wep11;call BOT;end
  789. if Choice="L" then do;if weapon=wep12 then signal ALREADYHAVE;if money<750000 then signal NOMONEY
  790. money=money-750000;weapon=wep12;call BOT;end;signal BUYWEAPON
  791. BUYARMOR:
  792. w=a;tr CLS;tr "                  \z6\c3  Macy's Department Store Vehicles  \z0\c1"
  793. tr "\c6 ----------------------------------------------------------------------"
  794. tr "\cf   A.\c4 Barbie Ferrari                     \c2Rank:\c4 1   \c5 Price:\c4 $100   "
  795. tr "\cf   B.\c4 Roller Skates                      \c2Rank:\c4 2   \c5 Price:\c4 $2000  "
  796. tr "\cf   C.\c4 Vision Skateboard                  \c2Rank:\c4 3   \c5 Price:\c4 $10000  "
  797. tr "\cf   D.\c4 Go-Cart                            \c2Rank:\c4 4   \c5 Price:\c4 $25000 "
  798. tr "\cf   E.\c4 10-Speed Bike                      \c2Rank:\c4 5   \c5 Price:\c4 $40000 "
  799. tr "\cf   F.\c4 Suzuki Motorbike                   \c2Rank:\c4 6   \c5 Price:\c4 $55000 "
  800. tr "\cf   G.\c4 BMW Motorcycle                     \c2Rank:\c4 7   \c5 Price:\c4 $75000 "
  801. tr "\cf   H.\c4 Yugo                               \c2Rank:\c4 8   \c5 Price:\c4 $85000 "
  802. tr "\cf   I.\c4 Volkswagon                         \c2Rank:\c4 9   \c5 Price:\c4 $100000"
  803. tr "\cf   J.\c4 Ferrari F40                        \c2Rank:\c4 10  \c5 Price:\c4 $200000"
  804. tr "\cf   K.\c4 Corvette Mako Shark                \c2Rank:\c4 11  \c5 Price:\c4 $420000"
  805. tr "\cf   L.\c4 Stealth Bomber                     \c2Rank:\c4 12  \c5 Price:\c4 $750000"
  806. tr "\n1\c1                               Press Q To Quit      ";ss "\n1\c3You have $\c1"money"\c3.  What vehicle do you want Sir?\c6> \c1";getchar;if nocarrier() then signal bye
  807. Choice=(result);if Choice=PA then signal BYE;if Choice="Q" then signal MENU1;if Choice="A" then do;if armor=arm1 then signal ALREADYHAVEA
  808. if money<10 then signal NOMONEYA;money=money-10;armor=arm1;call BOT;end;if Choice="B" then do
  809. if armor=arm2 then signal ALREADYHAVEA;if money<2000 then signal NOMONEYA;money=money-2000
  810. armor=arm2;call BOT;end;if Choice="C" then do;if armor=arm3 then signal ALREADYHAVEA
  811. if money<10000 then signal NOMONEYA;money=money-10000;armor=arm3;call BOT;end
  812. if Choice="D" then do;if armor=arm4 then signal ALREADYHAVEA;if money<25000 then signal NOMONEYA
  813. money=money-25000;armor=arm4;call BOT;end;if Choice="E" then do;if armor=arm5 then signal ALREADYHAVEA
  814. if money<40000 then signal NOMONEYA;money=money-40000;armor=arm5;call BOT;end
  815. if Choice="F" then do;if armor=arm6 then signal ALREADYHAVEA;if money<55000 then signal NOMONEYA
  816. money=money-55000;armor=arm6;call BOT;end;if Choice="G" then do;if armor=arm7 then signal ALREADYHAVEA
  817. if money<75000 then signal NOMONEYA;money=money-75000;armor=arm7;call BOT;end
  818. if Choice="H" then do;if armor=arm8 then signal ALREADYHAVEA;if money<85000 then signal NOMONEYA
  819. money=money-85000;armor=arm8;call BOT;end;if Choice="I" then do;if armor=arm9 then signal ALREADYHAVEA
  820. if money<100000 then signal NOMONEYA;money=money-100000;armor=arm9;call BOT;end
  821. if Choice="J" then do;if armor=arm10 then signal ALREADYHAVEA;if money<200000 then signal NOMONEYA
  822. money=money-200000;armor=arm10;call BOT;end;if Choice="K" then do;if armor=arm11 then signal ALREADYHAVEA
  823. if money<420000 then signal NOMONEYA;money=money-420000;armor=arm11;call BOT;end
  824. if Choice="L" then do;if armor=arm12 then signal ALREADYHAVEA;if money<750000 then signal NOMONEYA
  825. money=money-750000;armor=arm12;call BOT;end;signal BUYARMOR
  826. BOT:
  827. tr CLS'\n1';if w=a then tr center("\c4You have bought a \c1"armor"\c4!",78)
  828. if w=b then tr center("\c6You have bought a \c1"weapon"\c6!\n1",78);call delay(110);return
  829. SELLWEAPON:
  830. tr "\n1\c4 Macy's will take your weapon for half price.";ss "\n1\cfAre You Sure (y/N)? \c1";getchar;if nocarrier() then signal bye
  831. Choice=result;tr '\n1';if Choice=PA then signal BYE;if Choice="Y" then do;if weapon=wep1 then do;tr "\c2Macy's won't take that piece of junk!"
  832. call delay(110);signal MENU1;end;if weapon=wep2 then do;tr "\c3Macy's pays you $1000!"
  833. weapon=wep1;money=money+1000;call delay(110);signal MENU1;end;if weapon=wep3 then do
  834. tr "\c3Macy's pays you $5000!";weapon=wep1;money=money+5000;call delay(110);signal MENU1
  835. end;if weapon=wep4 then do;tr "\c3Macy's pays you $12500!";weapon=wep1;money=money+12500
  836. call delay(110);signal MENU1;end;if weapon=wep5 then do;tr "\c3Macy's pays you $20000!"
  837. weapon=wep1;money=money+20000;call delay(110);signal MENU1;end;if weapon=wep6 then do
  838. tr "\c3Macy's pays you $27500!";weapon=wep1;money=money+27500;call delay(110);signal MENU1
  839. end;if weapon=wep7 then do;tr "\c3Macy's pays you $37500!";weapon=wep1;money=money+37500
  840. call delay(110);signal MENU1;end;if weapon=wep8 then do;tr "\c3Macy's pays you $42500!"
  841. weapon=wep1;money=money+42500;call delay(110);signal MENU1;end;if weapon=wep9 then do
  842. tr "\c3Macy's pays you $50000!";weapon=wep1;money=money+50000;call delay(110);signal MENU1
  843. end;if weapon=wep10 then do;tr "\c3Macy's pays you $100000!";weapon=wep1;money=money+100000
  844. call delay(110);signal MENU1;end;if weapon=wep11 then do;tr "\c3Macy's pays you $210000!"
  845. weapon=wep1;money=money+210000;call delay(110);signal MENU1;end;if weapon=wep12 then do
  846. tr "\c3Macy's pays you $375000!";weapon=wep1;money=money+375000;call delay(110);signal MENU1
  847. end;end;signal MENU1
  848. SELLARMOR:
  849. tr "\n1\c4 Macy's will take your vehicle for half price.\c1";ss "\n1\cfAre You Sure (y/N)? \c1";getchar;if nocarrier() then signal bye
  850. Choice=result;tr ' ';if Choice=PA then signal BYE;if Choice="Y" then do;if armor=arm1 then do;tr "\c2Macy's won't take that piece of junk!"
  851. call delay(110);signal MENU1;end;if armor=arm2 then do;tr "\c3Macy's pays you $1000!"
  852. armor=arm1;money=money+1000;call delay(110);signal MENU1;end;if armor=arm3 then do
  853. tr "\c3Macy's pays you $5000!";armor=arm1;money=money+5000;call delay(110);signal MENU1
  854. end;if armor=arm4 then do;tr "\c3Macy's pays you $12500!";armor=arm1;money=money+12500
  855. call delay(110);signal MENU1;end;if armor=arm5 then do;tr "\c3Macy's pays you $20000!"
  856. armor=arm1;money=money+20000;call delay(110);signal MENU1;end;if armor=arm6 then do
  857. tr "\c3Macy's pays you $27500!";armor=arm1;money=money+27500;call delay(110);signal MENU1
  858. end;if armor=arm7 then do;tr "\c3Macy's pays you $37500!";armor=arm1;money=money+37500
  859. call delay(110);signal MENU1;end;if armor=arm8 then do;tr "\c3Macy's pays you $42500!"
  860. armor=arm1;money=money+42500;call delay(110);signal MENU1;end;if armor=arm9 then do
  861. tr "\c3Macy's pays you $50000!";armor=arm1;money=money+50000;call delay(110);signal MENU1
  862. end;if armor=arm10 then do;tr "\c3Macy's pays you $100000!";armor=arm1;money=money+100000
  863. call delay(110);signal MENU1;end;if armor=arm11 then do;tr "\c3Macy's pays you $210000!"
  864. armor=arm1;money=money+210000;call delay(110);signal MENU1;end;if armor=arm12 then do
  865. tr "\c3Macy's pays you $375000!";armor=arm1;money=money+375000;call delay(110);signal MENU1
  866. end;end;signal MENU1
  867. ALREADYHAVE:
  868. tr cls"\n1\c2 YOU ALREADY HAVE THAT WEAPON! \c1";call delay(150);signal BUYWEAPON
  869. NOMONEY:
  870. tr cls"\n1\c2 YOU DON'T HAVE ENOUGH MONEY TO BUY THAT WEAPON!";if money=0 then tr "\c4 --You don't have any money!"
  871. call delay(150);signal BUYWEAPON
  872. ALREADYHAVEA:
  873. tr CLS "\n1\c2 YOU ALREADY HAVE THAT VEHICLE! \c1";call delay(150);signal BUYARMOR
  874. NOMONEYA:
  875. tr CLS "\n1\c2 YOU DON'T HAVE ENOUGH MONEY TO BUY THAT VEHICLE!";if money=0 then tr "\c4 --You don't have any money!"
  876. call delay(150);signal BUYARMOR;
  877. QUIT:
  878. ss "\n1\c3Are you sure (\c5y\c3/\c2N\c3)? \c1";getchar;if nocarrier() then signal bye;Choice=result;if Choice=PA then signal BYE;if Choice="Y" then do;tr CLS
  879. call close(news);tr "\n1\z6\c3Saving Stats...\z0\c1";call POINTCK
  880. call open(Fill,yupdir||handle'.DAT','W');call writeln(Fill,turnsleft);call writeln(Fill,maxpoints)
  881. call writeln(Fill,hitpoints);call writeln(Fill,points);call writeln(Fill,money)
  882. call writeln(Fill,armor);call writeln(Fill,weapon);call writeln(Fill,rank);call writeln(Fill,canfight)
  883. call writeln(Fill,date);call writeln(Fill,deadf);call writeln(Fill,killer)
  884. call writeln(Fill,kills);call writeln(Fill,bmoney);call writeln(fill,expert);call close(Fill);
  885. tr "\n1\z6\c3Saved.\z0\c1";tr "\n1\c5Calculating High Scores...\n1";call CHECKHI
  886. tr center("\c2Returning to "bbsname"...\z0",78);call delay(110);signal DIE
  887. end;tr "\n1\c3Returning To Main...\z0";call delay(30);signal MENU1
  888. OUTTAHERE:
  889. tr CLS'\n1';call close(news);tr "\z6\c3Saving Stats...\z0\c1";call POINTCK
  890. call open(Fill,yupdir||handle'.DAT','W');call writeln(Fill,turnsleft);call writeln(Fill,maxpoints)
  891. call writeln(Fill,hitpoints);call writeln(Fill,points);call writeln(Fill,money)
  892. call writeln(Fill,armor);call writeln(Fill,weapon);call writeln(Fill,rank);call writeln(Fill,canfight)
  893. call writeln(Fill,date);call writeln(Fill,deadf);call writeln(Fill,killer);call writeln(Fill,kills)
  894. call writeln(Fill,bmoney);call writeln(fill,expert);call close(Fill);tr "\n1\z6\c3Saved.\z0"
  895. tr "\n1\c5Calculating High Scores...\n1";call CHECKHI;tr center("\c2Returning to "bbsname"...\z0",78)
  896. call delay(110);signal DIE
  897. BYE:
  898. call close(news);call POINTCK;call open(File,yupdir||handle'.DAT','W');call writeln(File,turnsleft)
  899. call writeln(File,maxpoints);call writeln(File,hitpoints);call writeln(File,points)
  900. call writeln(File,money);call writeln(File,armor);call writeln(File,weapon)
  901. call writeln(File,rank);call writeln(File,canfight);call writeln(File,date)
  902. call writeln(File,deadf);call writeln(File,killer);call writeln(File,kills)
  903. call writeln(File,bmoney);call writeln(file,expert);call close(File);call CHECKHI;signal DIE
  904. POINTCK:
  905. if turnsleft='' then turnsleft=2;i
  906. if maxturns=21 then maxturns=26
  907. if maxturns='' then maxturns=26;if canfight='' then canfight=4;if deadf='' then deadf=0
  908. if killer='' then killer="NOBODY";if weapon='' then weapon=wep1;if weapon=wep1 then po1=100
  909. if weapon=wep2 then po1=200;if weapon=wep3 then po1=400;if weapon=wep4 then po1=800
  910. if weapon=wep5 then po1=1600;if weapon=wep6 then po1=3200;if weapon=wep7 then po1=6400
  911. if weapon=wep8 then po1=12800;if weapon=wep9 then po1=25600;if weapon=wep10 then po1=51200
  912. if weapon=wep11 then po1=102400;if weapon=wep12 then po1=204800;if armor='' then armor=arm1
  913. if armor=arm1 then po2=100;if armor=arm2 then po2=200;if armor=arm3 then po2=400
  914. if armor=arm4 then po2=800;if armor=arm5 then po2=1600;if armor=arm6 then po2=3200
  915. if armor=arm7 then po2=6400;if armor=arm8 then po2=12800;if armor=arm9 then po2=25600
  916. if armor=arm10 then po2=51200;if armor=arm11 then po2=102400;if armor=arm12 then po2=204800
  917. if bmoney='' then bmoney=0;if money='' then money=0;po3=money+bmoney;if rank='' then rank=ran1
  918. if rank=ran1 then po4=500;if rank=ran2 then po4=1000;if rank=ran3 then po4=2000
  919. if rank=ran4 then po4=4000;if rank=ran5 then po4=6000;if rank=ran6 then po4=8000
  920. if rank=ran7 then po4=10000;if rank=ran8 then po4=15000;if rank=ran9 then po4=30000
  921. if rank=ran10 then po4=45000;if rank=ran11 then po4=60000;if rank=ran12 then po4=80000;if hitpoints='' then hitpoints=30
  922. po5=hitpoints*10;if maxpoints='' then maxpoints=30;po6=maxpoints*10;if kills='' then kills=0
  923. po7=kills*1000;points=po1+po2+po3+po4+po5+po6+po7;return
  924. CHECKHI:
  925. call HICL;call open(play,yupdir'Players','W');do i=1 to howm;call writeln(play,name.i);call writeln(play,point.i);end;call close(play);call open(dc,yupdir'STATS','W')
  926. call writeln(dc,date);call writeln(dc,day);call writeln(dc,howm);call close(dc)
  927. call HICK;call open(top10,yupdir'TopOnes','W');do i=1 to 10;writeln(top10,topscore.i' 'topalias.i)
  928. end;call close(top10);return
  929. SYNTAX:
  930. trace results
  931. tr ' ';tr '\c2 ARRRRRGGGHHHH!\c3  There is a SYNTAX error!';tr '\c2 Line:\c3' SIGL'\c2   Error Code:\c3' RC errortext(rc)
  932. tr '\c6 Let the SYSOP know about it!';call open (lfile,'system:log.files','A')
  933. writeln lfile, 'E 'date()'\h5 'time'\h2 'handle'     Yuppie Syntax Error in Line:'SIGL
  934. writeln lfile, 'E 'date()'\h5 'time'\h2 'handle'     Need Help Fixin It? Call 313-367-6634(Extremulus)'
  935. call close(lfile);signal die;trace results
  936. IOERR:
  937. tr '\n1\c2 ARGH! There is an I/O error!';tr '\c2 Be sure to let 'dasysop' know about it!'
  938. tr ' ';Le 'Yuppie Wars had an IO Err in Line:' SIGL '   Error Code:' RC;Le ' Either fix it yourself or call my board! '
  939. Le 'If u need help fixin this call Extremulus at 313-367-6634'
  940. call delay(400);signal Die
  941. DIE:
  942. if exists('C:flush') then do;address command 'c:flush';end;if exists(yupdir'flush') then do   /* Try to flush out memory if this */
  943. address command yupdir'flush';end;if exists('SYS:flush') then do;address command 'sys:flush'
  944. end;if exists('C:flushlibs') then do;address command 'c:flushlibs';end;if exists(yupdir'flushlibs') then do
  945. address command yupdir'flushlibs';end;if exists('SYS:flushlibs') then do;address command 'SYS:flushlibs'
  946. end;bufferflush;shutdown;exit
  947. SLITS:           
  948. ESC=''RESET='';CLL='                                                                     '
  949. CLR=';H';HOM='H';POS='H';POS1='H';POS2='H';POS3='H'
  950. POS4='H';POS5='H';POS6='H';POS7='H';POS8='5H';POS9='5H'
  951. POS10='5H';POS11='5H';POS12='5H';POS13='5H';POS14='5H';POS15='5H'
  952. POS16='5H';POS17='5H';POS18='5H';POS19='5H';POS20='5H';POS21='5H'
  953. WHITEONRED='\z2\c1'
  954. BLACKONYELLOW='\zf\c0';YELLOWONBLUE='\cf\z6';CYANONBLACK='\c3'
  955. YELLOWONBLACK='\cf';PURPLEONBLACK='\c4';BLUEONBLACK='\c6';REDONYELLOW='\c2\zf'
  956. REDONBLUE='\c2\z6';BLACK='\c0';bet=0;Tl=0;Dl=0;bufferflush
  957. BEAN:
  958. tr cls"\n1                          \z6\c3   Playing The Slots   \z0\c1"
  959. qu "\n1\c4You have $"money" -- Your bet (Max 5000)?\c6> \c1"
  960. Bet=result;if Bet=PA then signal BYE;if Bet=0|Bet='Q' then signal WHATTHEHELL
  961. if Bet>money|Bet>5000 then do;tr "\n1Sorry "handle", you can't bet that much!"
  962. call delay(100);signal BEAN;end;if Bet=''|Bet=' '|Bet<=. then signal BEAN;else
  963. tr '\n1'POS3 CLL POS3 "Bet taken...";if turnsleft<1 then do;tr 'You have No turns left!';signal menu1;end;turnsleft=turnsleft-1;signal BEANS
  964. BEANS:
  965. bufferflush;tr POS4 CLL POS4 "\c3Press 'P' to pull for your chance at big bucks!"
  966. SS "\c6>";getchar;if nocarrier() then signal bye;chr=(result);if chr=PA then signal BYE
  967. if chr='P' then do;TR POS6 CLL POS6'     Your slots: ';call ROLL;numslots=1
  968. do for 3;call ROLL;numslots=numslots+1;end;call OUTPUT;numslots=1;do for 3;call ROLL
  969. numslots=numslots+1;end;call OUTPUT;numslots=1;do for 3;call ROLL;numslots=numslots+1
  970. end;call OUTPUT;numslots=1;do for 3;call ROLL;numslots=numslots+1;end;call OUTPUT
  971. call COMPARE;end;else signal WHATTHEHELL
  972. ROLL:
  973. slots.numslots=RANDOM(1,6,Time('s'));slot.numslots=slots.numslots;if slots.numslots=1 then do
  974. slot.numslots='=';end;if slots.numslots=2 then do;slot.numslots='?';end;if slots.numslots=3 then do
  975. slot.numslots='#';end;if slots.numslots=4 then do;slot.numslots='$';end;if slots.numslots=5 then do
  976. slot.numslots='*';end;if slots.numslots=6 then do;slot.numslots='7';end;BUFFERFLUSH;RETURN
  977. OUTPUT:
  978. tr POS7 CLL POS7'                                             ';do i=1 to numslots-1;SS '  -<->- ';end;TR '';do i=1 to numslots-1
  979. SS ' |     |';end;TR '';do i=1 to numslots-1;SS ' |  'slot.i'  |'
  980. end;TR '';do i=1 to numslots-1;SS ' |     |';end;TR '';do i=1 to numslots-1
  981. SS ' |ooooo|';end;TR '';do i=1 to numslots-1;SS '   < >  '
  982. end;TR '';call delay(50);RETURN
  983. COMPARE:
  984. if slot.1=slot.2 & slot.1 ~=slot.3 then signal WINNER;if slot.2=slot.3 & slot.2 ~=slot.1 then signal WINNER
  985. if slot.1=slot.2 & slot.1=slot.3 then signal WINNER1;else money=money-bet;if purse=0|purse<0 then signal OUTTACASH
  986. else signal LOSER
  987. WINNER:
  988. TR '\n1'POS15 CLL POS15 "You won double your bet which was "bet*2"!\n1";money=money+(bet*2);call DBL;signal WHATTHEHELL
  989. WINNER1:
  990. TR '\n1'POS15 CLL POS15 "You won triple your bet which was "bet*3"!\n1";money=money+(bet*3);call TPL;signal WHATTHEHELL
  991. LOSER:
  992. TR '\n1'POS15 CLL POS15 "You didn't win your bet!";call delay(100);BUFFERFLUSH;signal WHATTHEHELL
  993. WHATTHEHELL:
  994. ss '\n1'POS17 CLL POS17 "Do you want to continue playing (Y/N)?";getchar;if nocarrier() then signal bye
  995. ans=(result);if ans=PA then signal BYE;if ans='Y' then signal BEAN
  996. if ans='N' then signal VEGAS;if ans ~='N'|ans ~='Y' then signal WHATTHEHELL
  997. signal WHATTHEHELL
  998. TPL:
  999. Tl=Tl+1;if Tl=5 then call BROKEN;RETURN
  1000. DBL:
  1001. Dl=Dl+1;if Dl=8 then call BROKEN;RETURN
  1002. OUTTACASH:
  1003. TR CLS;TR "    ";TR POS17 CLL POS17 "You ain't got no money left! Boy, you sure did a lousy job!"
  1004. TR "    ";call delay(100);TR POS18 CLL POS18 "Well since you're outta cash, we'll help you outta here!"
  1005. signal VEGAS
  1006. BROKEN:
  1007. TR CLS;Tr "    ";TR POS14 CLL POS14 "The Casino Manager wants to talk to you now!"
  1008. TR "    ";call delay(100);TR POS15 CLL POS15 "It appears he isn't too happy with your Playing Skills!";call delay(100)
  1009. TR POS16 CLL POS16 "I'm afraid I will have to ask you to leave now, you won too much!";TR POS17 CLL POS17 "You Broke the Bank!! Try again later if you feel lucky....";TR "     "
  1010. call delay(100);signal VEGAS
  1011. CRAPS:        
  1012. if money<=0 then do;tr CLS;tr center("\n1\c2YOU NEED MONEY TO PLAY THIS GAME!\n1",78)
  1013. call delay(150);return;end;tr CLS"                         \z6\c3   Playing Craps   \z0\c1\n1"
  1014. call MAIN;return
  1015. Main:
  1016. RollNum=0;RollOld=0;call Bet;call RollIt
  1017. return
  1018. Bet:
  1019. if turnsleft<1 then do;tr 'You have No turns left!';signal menu1;end;turnsleft=turnsleft-1;tr "\n1\c6 You have $\c3"money"\c6.  Maximum bet is $\c35000\c6.\c1";qu "\c3 How much do you wish to bet \c6[\cfQ\c6]\c3 To Quit?:\c1"
  1020. TimeBet=result;if TimeBet=PA then signal BYE;if TimeBet="q"|TimeBet="Q" then do;turnsleft=turnsleft+1;signal VEGAS;end;if money<TimeBet then do;tr CLS
  1021. tr "\n1\c2              YOU DON'T HAVE ENOUGH MONEY TO BET THAT MUCH!\c1\n1"
  1022. call delay(150);call BET;return;end;if TimeBet=1 then Minutes="Dollar"
  1023. else Minutes="Dollars";if TimeBet<1 then call BET;if TimeBet>5000 then call BET
  1024. if TimeBet=""|TimeBet=" " then do;turnsleft=turnsleft+1;signal VEGAS;end;return
  1025. RollIt:
  1026. do forever;ss "\n1\c1Press [\c2RETURN\c1] To Roll...";qu ".";YesPlay=result
  1027. if YesPlay=PA then signal BYE;call Roller;end;return
  1028. Roller:
  1029. tr CLS;RollNum=RollNum+1;tr "Roll #"RollNum;tr '';Rand1=RANDOM(1,6,Time('s'))
  1030. DicePos="";DiceSet=insert("Dice",Rand1);interpret "call" DiceSet;Rand2=RANDOM(1,6,Time('s'))
  1031. DicePos="        ";DiceSet=insert("Dice",Rand2);interpret "call" DiceSet
  1032. RandSum=Rand1+Rand2;tr "\n1You Rolled A "RandSum".\n1";if RandSum=7|RandSum=11 then do
  1033. if RollNum=1 then call Win;else call Lost;end;if RollNum=1 then RollOld=RandSum
  1034. if RollOld=RandSum then do;if RollNum ~=1 then call Win;end;tr "You Need Another \c5"RollOld"\z0 To Win!";return
  1035. Win:
  1036. if RollNum=1 then do;tr "\c1You Rolled A "RandSum" On The 1st Roll Which \c5Doubles\c1 Your Bet!"
  1037. TimeBet=TimeBet*2;end;tr "Craps! You \c2Won "TimeBet" "Minutes"\c1!";money=money+TimeBet
  1038. if TimeBet=1 then Minutes="Dollar";else Minutes="Dollars";call Again;signal VEGAS;return
  1039. Lost:
  1040. tr "You Crapped Out, You \c5Lost "TimeBet" "Minutes"\c1!";if TimeBet=1 then Minutes="Dollar"
  1041. else Minutes="Dollars";money=money-TimeBet;call Again;signal Vegas;return
  1042. Again:
  1043. qu "\n1\c5Do You Want To Play Again (Y/N)? \c1";PlayAgain=result
  1044. if PlayAgain=PA then signal BYE;if PlayAgain="y"|PlayAgain="Y" then call CRAPS
  1045. if PlayAgain="n"|PlayAgain="N" then signal VEGAS;return
  1046. Dice1:
  1047. tr DicePos"\c1\r1       \r0";tr DicePos"\r1   *   \r0";tr DicePos"\r1       \r0";return
  1048. Dice2:
  1049. tr DicePos"\c1\r1     * \r0";tr DicePos"\r1       \r0";tr DicePos"\r1 *     \r0";return
  1050. Dice3:
  1051. tr DicePos"\c1\r1     * \r0";tr DicePos"\r1   *   \r0";tr DicePos"\r1 *     \r0";return
  1052. Dice4:
  1053. tr DicePos"\c1\r1 *   * \r0";tr DicePos"\r1       \r0";tr DicePos"\r1 *   * \r0";return
  1054. Dice5:
  1055. tr DicePos"\c1\r1 *   * \r0";tr DicePos"\r1   *   \r0";tr DicePos"\r1 *   * \r0";return
  1056. Dice6:
  1057. tr DicePos"\c1\r1 *   * \r0";tr DicePos"\r1 *   * \r0";tr DicePos"\r1 *   * \r0";return
  1058. NoCarrier: procedure;GETCARRIER;carrier=result;if carrier=='FALSE' then
  1059. rv=1;else rv=0;return(rv)
  1060.